Summary

In this chapter, we discussed two solutions that handle the stateful applications in clusters. One is sticky sessions and the other is session replication. These two solutions are usually used together to provide high availability in a Stateful cluster.

When we are building a cluster, we should always consider building a stateless one at first because a stateless cluster is very easy to scale, and it doesn't have performance bottleneck on session replication.

Get JBoss EAP6 High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.