Over a million developers have joined DZone.

memcached-session-manager 1.4.1 released

DZone's Guide to

memcached-session-manager 1.4.1 released

· ·
Free Resource
After memcached-session-manager 1.4.0 added support for non-sticky sessions and tomcat7 compatibility, 1.4.1 is a bugfix release for these new features (see also Changes).

memcached-session-manager (msm) is a memcached based session-failover and high-availability open-source solution for tomcat, with high-performance, scalability and reliability as it's main goals.
For sticky sessions, an additional copy of a session is stored in memcached for failover, while for regular requests the session is served from the local session map - as fast as usual. Crashes of memcached nodes are handled, sessions are migrated to other memcached nodes in such a case.
For non-sticky sessions, memcached (or whatever memcached compatible, perhaps persistent KV store) is the primary session store, therefore the session is loaded from memcached if accessed by the webapp and stored in memcached (if modified) when the request is finished. To handle the crash of a memcached node for non-sticky sessions each session is stored additionally in another, secondary memcached node.

msm is open-source (Apache License 2), the source code is hosted on github, for discussions there's a mailing list on google groups.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}