Memory-to-memory topology: Client/server function
The client/server configuration, used to attain session affinity, consists of a cluster of servers configured as either client only or server only. Benefits include...
- Isolating the handling of backup data from local data
- Recycling backup servers without affecting the servers running the application
- Removing the need for a one-to-one correspondence between servers
The following figure depicts the client/server mode. There is a tier of applications servers that host web applications using HTTP sessions, and these sessions are replicated out as they are created and updated. There is a second tier of servers without a web application installed, where the session manager receives updates from the replication clients.
Benefits of the client/server configuration include:
- Isolation for failure recovery
- We isolate the handling of backup data from local data. We free up memory and processing in the servers processing the web application.
- Isolation for stopping and starting
- We can recycle a backup server without affecting the servers running the application (when there are two or more backups, failure recovery is possible), and conversely recycle an application JVM without potentially losing that backup data for someone.
- Consolidation
- We likely do not need to have a one-to-one correspondence between servers handling backups and those processing the applications; hence, we are again reducing the number of places to which we transfer the data.
- Disparate hardware:
- While we run our web applications on cheaper hardware, we may have one or two more powerful computers in the back end of our enterprise that have the capacity to run a couple of session managers in replication server mode; allowing us to free up your cheaper web application hardware to process the web application.
Timing consideration:
Start the backup application servers first to avoid unexpected timing windows. The clients attempt to replicate information and HTTP sessions to the backup servers as soon as they come up. As a result, HTTP sessions created prior to the time at which the servers come up might not replicate successfully.
Related:
Memory-to-memory replication Memory-to-memory topology: Peer-to-peer function Memory-to-memory session partitioning Configure memory-to-memory replication for the peer-to-peer mode (default memory-to-memory replication) Configure memory-to-memory replication for the client/server mode