[Kimchi-devel] [PATCH] issue #325: Use RamSession instead of FileSession

Adam King rak at linux.vnet.ibm.com
Tue Feb 25 15:22:28 UTC 2014


On 2/25/2014 8:42 AM, Sheldon wrote:
> Not sure RamSession is a good choice.
What are your concerns with RamSession?

>
> What's the different between MemcachedSession and RamSession.
Memcached is a distributed memory cache: 
http://en.wikipedia.org/wiki/Memcached
which seems like overkill given that we do not presently have a 
clustering solution.

At this point we are using the session to cache information about the user:
     groups that they are in
     whether or not they have sudo
     others?

All of those are fairly simple to reconstruct in the case that the 
session gets lost or destroyed.
i.e. RamSession seems appropriate for the current session usage pattern.

-- 
Adam King <rak at linux.vnet.ibm.com>
IBM C&SI





More information about the Kimchi-devel mailing list