If your web application is high transaction then remove data storage bottlenecks related to your web session persistence and store your web sessions in an in-memory data grid like TayzGrid. In-memory data grid allows you to scale your web applications and handle extreme transaction loads.
In-memory data grid like TayzGrid as a web session store is a much better option than the built-in storage options like InProc and clustered session store in any Java Servlet Container (e.g. JBoss). This is because TayzGrid lets you linearly scale the in-memory data grid by adding more data grid servers to the cluster. And, this something you cannot do with the built-in options.
In addition to linear scalability, TayzGrid offer the following extra benefits for storing your web sessions in it:
The best thing about using TayzGrid for Web Session persistence is that there is no programming required on your part. You simply modify your application configuration file and add TayzGrid as a Filter to your web JSP application. Here is an example of configuration changes:
<web-app> <session-config> <session-timeout> 30 </session-timeout> </session-config> <filter> <filter-name> TayzGridSessionProvider </filter-name> <filter-class> com.alachisoft.tayzgrid.web.session.TayzGridSessionProvider </filter-class> <init-param> <description> configPath is used to load the session.xml and client.conf files </description> <param-name> configPath </param-name> <param-name> /opt/tayzgrid/config </param-name> </init-param> </filter> <filter-mapping> <filter-name> TayzGridSessionProvider </filter-name> <url-pattern> /* </url-pattern> </filter-mapping> <welcome-file-list> <welcome-file> index.jsp </welcome-file> </welcome-file-list> </web-app>