Patent ID: 8752054

Claim:
An apparatus comprising: a queue configured to store a plurality of atomic transactions, wherein said plurality of atomic transactions comprises a first transaction and a second transaction, and wherein said first transaction is before said second transaction in said queue; a memory; and a processor coupled to the memory, the processor configured to perform the steps of: (a) determining whether to merge said first transaction and said second transaction based on whether the number of transactions in said queue exceeds a first predetermined threshold and whether a rate of growth of the number of transactions in a transaction queue exceeds a second predetermined threshold; and (b) when the determination is affirmative, (i) merging the first and second transactions, (ii) processing the merged transaction, wherein the processing comprises transmitting a signal that is based on said merged transaction, and (iii) storing in the memory a system state produced by the processing, and otherwise, (i) processing said first transaction, wherein the processing comprises transmitting a signal that is based on said first transaction, (ii) processing said second transaction, wherein the processing comprises transmitting a signal that is based on said second transaction, and (iii) storing in the memory a system state produced by the processing of the first transaction and the processing of the second transaction.