Patent ID: 7165129
Filing Date: 2007-01-16
Classification: G06F

Abstract:
1. A method for efficiently batching transactions in a computerized system, comprising the steps of: receiving a transaction at the computerized system; writing the received transaction data to a data buffer; if the received transaction is an only transaction in the computerized system, then flushing the data buffer to a non-volatile storage device; if the received transaction is not the only transaction in the computerized system, then determining whether a maximum response time will be met for an oldest transaction waiting for flush in the computerized system if the data buffer were flushed to the storage device immediately; if the maximum response time will not be met, then flushing the data buffer to the non-volatile storage device; if the maximum response time will be met, then determining whether a rate of data of incoming transactions is higher than a rate of flushing data from the data buffer to the non-volatile storage device if flushed immediately; if the rate of data of incoming transactions is lower than the rate of flushing data from the data buffer to the non-volatile storage device if flushed immediately, then flushing the data buffer to the non-volatile storage device; if the rate of incoming data is higher than the rate of flushing data from the data buffer to the non-volatile storage device if flushed immediately, then waiting to receive another transaction; and updating a flush performance history after each flush of the data buffer to the non-volatile storage device.