You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ja kub <jj...@gmail.com> on 2014/02/20 10:57:33 UTC

recommended external/plugin session manager based on redis/cassandra/memcache

Hello

Has anybody tried using redis/cassandra/memcache as session manager ?
Are there any mature plugins available ?
Is there an interest in such plugin ?
Maybe it is hard to integrate such external cache solution because of
servlet spec requirements ?
Please give links to projects worth recommendation.


Below looks interesting but abandoned or in alpa version:

https://github.com/jcoleman/tomcat-redis-session-manager
one developer without time (
https://github.com/jcoleman/tomcat-redis-session-manager/issues/17 )

http://code.google.com/a/apache-extras.org/p/tomcat-cassandra/
valid session is loosing attributes if not written/read after ttl - not
resolved since 30.01

http://code.google.com/p/memcached-session-manager/
one developer, many old unresolved issues


Regards
Jakub

Re: recommended external/plugin session manager based on redis/cassandra/memcache

Posted by Ja kub <jj...@gmail.com>.
Thx for reply.
BR
Jakub


On Thu, Feb 20, 2014 at 7:11 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Jakub,
>
> On 2/20/14, 4:57 AM, Ja kub wrote:
> > Has anybody tried using redis/cassandra/memcache as session manager
> > ?
>
> I believe there is a SessionManager (or is it a "Store") that
> implements a memcached-backed session store out there somewhere.
> Search the list archives... it has come up a few times and you'll
> probably find a reference to where you can find it.
>
> > Are there any mature plugins available ? Is there an interest in
> > such plugin ?
>
> I think there are certainly some folks who would like to use
> non-memory session stores.
>
> > Maybe it is hard to integrate such external cache solution because
> > of servlet spec requirements ?
>
> I don't think so: there's nothing prohibiting sessions from being some
> place other than memory. As long as it works vaguely like a Map, the
> implementation is irrelevant.
>
> > Please give links to projects worth recommendation.
> >
> >
> > Below looks interesting but abandoned or in alpa version:
> >
> > https://github.com/jcoleman/tomcat-redis-session-manager one
> > developer without time (
> > https://github.com/jcoleman/tomcat-redis-session-manager/issues/17
> > )
> >
> > http://code.google.com/a/apache-extras.org/p/tomcat-cassandra/
> > valid session is loosing attributes if not written/read after ttl -
> > not resolved since 30.01
> >
> > http://code.google.com/p/memcached-session-manager/ one developer,
> > many old unresolved issues
>
> If you are interested in one of these, perhaps you should join one of
> the projects and contribute fixes.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJTBkU0AAoJEBzwKT+lPKRYkUgP/1ZTXuSXMpMLeWfKIqwOwCAy
> vDFKoFWYN62Uu41nGXZy46IwnGE164xFgsC+H/3EWNZaf/zVWoxR1M3u7HHUO72s
> MP+7T5k0lF+fztimGUjMTp0OaAZcLYsEDsKo6E9KEfSWdjF1oKe4mQVwiu0yMxL2
> f87nfc9c9OT6vGuL05Cldxo/IpRoKQi7x+ZQflPmajOvGX6arAKJFvZkAdwcKMd/
> ut+gEI9SiGvVDaE7jFYw+y8JvpvIZtR7JREAnOvvJoyEqYlg778bhXIPzx69/Z0U
> FEJuGemImJbgTz9uliNckjVEH428NwEl1iX3GwuHhZDm+Sw1CMig64ck2nJsx4Et
> F6QpDzEmdS7SuXDSS6hZeawZn4UA3FBAk5NLdbMaNl+8WvwBQynG4fh62qRcRL5o
> sWh/Kkaf0U0zH5hutI68ms3MM0NFaBXvt/4CCcU/0o4xo2qOd4fxRH6PWHTcC04v
> uakNrVUIrXMbm1LMyTmJL8ArnOnVlav4CXUNkL+HWgUyQSE63LBF2S9YXn6CZ26Q
> uUFBJwq1LbKOy7JfZUeSkg+qfTxtpa+O/029TNMfoIsl1GyjjTMcYKfV8x+PvLVW
> uwbZjAOS9JKQqowcDEiSvMsBHHvubj66DmXy0gzOd7zwZNBWqUlYhA+xZIhFIpTR
> guU5f6DJTnFjXEOxvxna
> =VK8a
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: recommended external/plugin session manager based on redis/cassandra/memcache

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jakub,

On 2/20/14, 4:57 AM, Ja kub wrote:
> Has anybody tried using redis/cassandra/memcache as session manager
> ?

I believe there is a SessionManager (or is it a "Store") that
implements a memcached-backed session store out there somewhere.
Search the list archives... it has come up a few times and you'll
probably find a reference to where you can find it.

> Are there any mature plugins available ? Is there an interest in
> such plugin ?

I think there are certainly some folks who would like to use
non-memory session stores.

> Maybe it is hard to integrate such external cache solution because
> of servlet spec requirements ?

I don't think so: there's nothing prohibiting sessions from being some
place other than memory. As long as it works vaguely like a Map, the
implementation is irrelevant.

> Please give links to projects worth recommendation.
> 
> 
> Below looks interesting but abandoned or in alpa version:
> 
> https://github.com/jcoleman/tomcat-redis-session-manager one
> developer without time ( 
> https://github.com/jcoleman/tomcat-redis-session-manager/issues/17
> )
> 
> http://code.google.com/a/apache-extras.org/p/tomcat-cassandra/ 
> valid session is loosing attributes if not written/read after ttl -
> not resolved since 30.01
> 
> http://code.google.com/p/memcached-session-manager/ one developer,
> many old unresolved issues

If you are interested in one of these, perhaps you should join one of
the projects and contribute fixes.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTBkU0AAoJEBzwKT+lPKRYkUgP/1ZTXuSXMpMLeWfKIqwOwCAy
vDFKoFWYN62Uu41nGXZy46IwnGE164xFgsC+H/3EWNZaf/zVWoxR1M3u7HHUO72s
MP+7T5k0lF+fztimGUjMTp0OaAZcLYsEDsKo6E9KEfSWdjF1oKe4mQVwiu0yMxL2
f87nfc9c9OT6vGuL05Cldxo/IpRoKQi7x+ZQflPmajOvGX6arAKJFvZkAdwcKMd/
ut+gEI9SiGvVDaE7jFYw+y8JvpvIZtR7JREAnOvvJoyEqYlg778bhXIPzx69/Z0U
FEJuGemImJbgTz9uliNckjVEH428NwEl1iX3GwuHhZDm+Sw1CMig64ck2nJsx4Et
F6QpDzEmdS7SuXDSS6hZeawZn4UA3FBAk5NLdbMaNl+8WvwBQynG4fh62qRcRL5o
sWh/Kkaf0U0zH5hutI68ms3MM0NFaBXvt/4CCcU/0o4xo2qOd4fxRH6PWHTcC04v
uakNrVUIrXMbm1LMyTmJL8ArnOnVlav4CXUNkL+HWgUyQSE63LBF2S9YXn6CZ26Q
uUFBJwq1LbKOy7JfZUeSkg+qfTxtpa+O/029TNMfoIsl1GyjjTMcYKfV8x+PvLVW
uwbZjAOS9JKQqowcDEiSvMsBHHvubj66DmXy0gzOd7zwZNBWqUlYhA+xZIhFIpTR
guU5f6DJTnFjXEOxvxna
=VK8a
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org