Web Session Clustering for Fault Tolerance, Load Balancing, and High Availability
The GridGain® in-memory computing platform is a powerful solution for web session clustering. HTTP is a stateless protocol so web servers are unaware of any relationship between consecutive requests. However, most web applications require some notion of a user session. The old approach of creating ‘sticky sessions’ by assigning users to specific servers in a cluster is usually not acceptable anymore, as it often causes uneven load distribution across a cluster with some servers overloaded while others are almost idle.
Cluster-aware and replicated web sessions enable load balancing of user sessions to any app server without losing intermediate user session data. With in-memory distributed caching technology, user sessions are available in memory regardless of which server in a cluster is affected because session state is replicated across multiple distributed servers. This approach:
- Provides automatic fault tolerance when a particular server crashes
- Supports out-of-the-box load balancing
- Offers high availability by avoiding a single point of failure since the session will still be available on another server
The GridGain In-Memory Computing Platform replicates session state across a cluster of distributed application servers, which enables the system to dynamically manage node failures. GridGain can be easily inserted between your existing application and data layers. It offers a high-performance web session clustering solution with advanced load balancing and no single point of failure. GridGain also offers massive scalability to petabytes of in-memory data on commodity hardware.