What's a good FOSS java servlet session replication solution
Posted
by Bossy Joe
on Stack Overflow
See other posts from Stack Overflow
or by Bossy Joe
Published on 2009-08-10T04:10:53Z
Indexed on
2010/04/22
12:03 UTC
Read the original article
Hit count: 198
I work on a very high volume public website running on Tomcat 5.5. Currently we require stickiness to a particular server in order to maintain session. I'd like to start replicating session, but have had trouble finding a good FOSS solution. I've written my own Manager (using memcached as the store) but am having trouble dealing with race conditions if more than one server is handling the requests for the same user.
Is there a solution out there I should be looking at? I'm looking for not just something that works as a fallback if stickiness fails, but that would work if user requests are regularly spread to multiple servers.
© Stack Overflow or respective owner