Open Source Projects:

Use Case

Web Session Clustering

Maintain a consistent customer experience and eliminate delays and downtime through Hazelcast web session clustering.

Back to top

Web Session Clustering

Web and application servers can scale out to handle huge loads with devices such as load balancers, which also provide redundancy. However, this setup introduces a new problem for applications that use web sessions: if a server fails and the load balancer moves the user to a new server, the session is lost. The solution to this problem is to provide web session clustering.

Open-source applications typically provide a way to plug in a web session clustering solution but do not provide the clustering mechanism itself. Commercial application servers may provide a clustering mechanism, but these are typically neither robust nor performant.


Hazelcast for Web Session Clustering

Hazelcast maintains user sessions in its cluster in memory, creating multiple copies for reliability. Every application server is set up to access Hazelcast so that all have access to all user sessions. In the event of an application server failure, the load balancer redirects the session to another application server. The handoff to the new application server is seamless for the user for the highest level of customer experience.


The Hazelcast Advantage

High Performance with No Application Modification Required

The Hazelcast platform processes all data in memory, so it delivers extremely fast performance for web session clustering for the best possible user experience. Hazelcast scales horizontally, so as your online business grows, it’s easy and cost-effective to expand your capacity.

Hazelcast provides web session clustering with native integration for Tomcat and Jetty web servers. Hazelcast can also be integrated with generic application servers through the use of filters. Hazelcast is delivered as a compact JAR file that is installed directly on the server, so it doesn’t require any modifications to your applications.

Hazelcast Web Session Clustering Features

High Performance and No Application Alteration High Performance and No Application Alteration

As an in-memory solution, performance of web session clustering and replication is very high, and needs no alterations to your application tier. Perform web session clustering without modifying existing applications.

Easy to Scale Out Easy to Scale Out

As your online business grows and customers increasingly use your website, Hazelcast can keep up with the load by adding new Hazelcast members to extend your cluster capacity.

Fast Session Access Fast Session Access

Hazelcast IMDG is an in-memory data grid, so all data operations are handled in-memory. This gives users of your online business a significantly faster (and better!) user experience.

Offload Web Sessions to Existing Cluster Offload Web Sessions to Existing Cluster

Configure Web Session Replication to use an existing cluster as a session store, so web servers will request session data from a central Hazelcast cluster, helping your development operations team save maintenance across your company.

Reliable Scalability to Match Demand

300ms to 2ms

Latency reduction in inventory fulfillment

For top 10 retailer in US

298% decrease

Time to commit to purchase delivery

Drive Customer Satisfaction at Scale

Drive customer satisfaction to higher levels
Through web session clustering, the most important part of your business (people spending money) is always on, and always available.

Speed that drives innovation
In-memory speed supported by constant availability opens up new opportunities for service innovation across nearly all facets of your organization.

Deliver a consistent customer experience
In-memory speed enables back-end infrastructure to constantly adapt to changing conditions with no noticeable effect at the application (customer) layer.

Free Hazelcast Online Training Center

Whether you're interested in learning the basics of in-memory systems, or you're looking for advanced, real-world production examples and best practices, we've got you covered.