摘要 |
Distributed and replicated sessions are implemented in a grid architecture. A session including conversational state is stored at a server in the grid. An incoming request is directed to a server via a load balancing mechanism. When a server receives an incoming request, it either a) retrieves the session from the server that currently holds the state, or b) forwards the request to the server that currently holds the session. Each server maintains the session for the requests that it has serviced until relieved of this responsibility by another server. A server holding a session is relieved of responsibility for the state when another server retrieves the session. In one aspect of the invention, each session is replicated among a number of servers, so as to provide additional redundancy and thereby avoid having any single server as a single point of failure for the session which it maintains.
|