Am 11.12.2013 12:25, schrieb Shammah Chancellor:

Is there any particular advantage for using Redis over a __gshared AA?
The only thing so far that I have is that I don't have a good key
expirey mechanism in AA's.

This seems to be something Sönke was trying to solve with the Sessions
list though as well. Maybe we should implement such a beast? (An AA
with key expiration)

-Shammah

The advantage of Redis is scalability and persistence. So in particular
it allows to scale the whole system using a load balancer when required
and it allows the web service to be restarted (possibly after a crash),
resuming work as if nothing had happened.

It depends a bit on how exactly the MemorySessionStore will end up,
but it seems like the concept of a self-expiring map may be useful
enough to put it in the vibe.utils package (even though that package
is meant more for internal use than as a public API).