http://www.javakaffee.de/blog/ Martin has posted 1 posts at DZone. View Full User Profile

memcached-session-manager 1.4.1 released

04.03.2011
| 6726 views |
  • submit to reddit
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.
0
Published at DZone with permission of its author, Martin Grotzke.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)