Patent ID: 7668904

Claim:
A computer-implemented method for session replication, the method implemented within a multi-tiered data processing system comprising a client tier, a server tier, and a database tier; each tier comprising computing devices coupled for data communications among the tiers and coupled for data communications among the devices within the server tier; the server tier and the database tier having disposed within them two or more replication peers; each replication peer comprising a module of automated computing machinery that has a same capability of storing on a replication medium sessions flushed from a replication queue as other modules similarly situated in the multi-tiered data processing system; the method comprising: enqueueing by a server in the server tier sessions on a replication queue, each session comprising information describing a group of two or more requests from a computing device in the client tier for computer resources or services; and flushing by the server enqueued sessions, from the replication queue to a replication peer, in dependence upon flushing criteria, for storage on a replication medium, including aggregating sessions from the replication queue for transmission to the replication peer; wherein flushing in dependence upon flushing criteria further comprises flushing in dependence upon queue depth.