Patent ID: 8738591

Claim:
A method comprising: receiving, by a computer system, a plurality of events to be committed to a database resident on a storage device, each event related to a completed communication session from an event processing system involving a user and having a deadline for committing the event to the database, the deadline based on a quality of service defined for the user and specifying therein an amount of time that can elapse before the event should be committed to the database; selecting, by the computer system, an event in the plurality of events with a shortest deadline; identifying, by the computer system, one or more events in the plurality of events that can be committed to the database with the selected event, wherein the deadlines for the selected event and on the one or more events differ from each other and wherein identifying the one or more events comprises analyzing the efficiency of committing the one or more events with the selected event and while still meeting deadlines for the plurality of events that are not the selected event of the one or more identified events; and committing, by the computer system, the selected event and the one or more events to the database together at the same time.