Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Hazelcast

You're reading from  Getting Started with Hazelcast

Product type Book
Published in Aug 2013
Publisher
ISBN-13 9781782167303
Pages 136 pages
Edition 1st Edition
Languages
Author (1):
Matthew Johns Matthew Johns
Profile icon Matthew Johns

Table of Contents (18) Chapters

Getting Started with Hazelcast
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
What is Hazelcast? Getting off the Ground Going Concurrent Divide and Conquer Listening Out Spreading the Load Typical Deployments From the Outside Looking In Going Global Playing Well with Others Configuration Summary Index

Web session storage


Another complementary piece of functionality is the ability to provide session persistence to a web application. These are normally provided by the application container, but these typically have replication or scalability issues with large deployments. This problem tends to be addressed through the use of "sticky sessions" where a load balancer sitting in front of the application routes related traffic through to the same container; but what would happen in a failure situation? If the container did not feature any form of replication, the session would be lost and a negative customer experience would be encountered.

Hazelcast can help address this issue by providing an external and distributed session store for our application. By including hazelcast-wm-2.6.jar in our web application and configuring the web.xml file, we can provide session persistence using a web application filter. In the case that your application uses multiple filters, make sure that this is the first...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}