Caching sessions in your application is one of the most beneficial and easy to do to improve performance that you can do. If you have the Liberty Profile, store your information in your sessions, and want to offload that to a cache which can be hit over and over again at super fast speeds, try out this sample.
The Websphere eXtreme Scale HTTP Session Sample is a web application and documentation provided to demonstrate the functionality of the Websphere eXtreme Scale Version 8.6 HTTP session management component. This document will show you exactly how to configure WebSphere Liberty Profile to integrate WebSphere eXtreme Scale on the XC10 DataPower Appliance as an HTTP Session caching provider.
It's as easy as adding the eXtremeScale.webapp feature with a little configuration to connect to your XC10 appliance.
server.xml <featureManager> <feature>eXtremeScale.webapp-1.1</feature> </featureManager>
The sample covers topics such as Setup, Usage, Failover, Configuration and Troubleshooting. Also included is source code to follow along and try out writing a sample Web Application that uses the HTTP Session cache.