Is it possible to configure memcached session manager with a File or
JDBC store in adition ?
The use case is this.
Suppose I have 2 servers each with a Tomcat + memcached. Works
great if one dies, but if both die then all session data is lost
(?) ... but if the File or JDBC Store were running then atleast a
backup or final shutdown of the session data would be stored in
persistant storage so when I restart tomcat it could recover the
session data.

I know this is overkill and not really that useful, just curious if
you can mix the memcached session management with the persistant

Also curious if since memcached interface is so simple, would it be
possible to implement an Amazon S3 or SimpleDB backed storage reusing
most of the code ? The architecture is similar, a key/object store
with a simple protocol. Maybe I could implement a memcached server
that talked to SimpleDB or S3 instead of used RAM.

None of these are critical as session data (for my uses) is a 'nice to
have' and in real disasters its OK if its lost ... the real important
data is in the DB and if a user has to relogin its just an
annoyance ... So this is mainly a educational question.

Thanks for any ideas

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupmemcached-session-manager @
postedOct 12, '11 at 10:15a
activeOct 12, '11 at 6:37p

2 users in discussion

DALDEI: 1 post Martin Grotzke: 1 post



site design / logo © 2022 Grokbase