[issue2551140] Use redis as caching layer or session db implementation.

John Rouillard <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

This ticket is for using a redis instance for caching for rdbms and 
anydbm backends as well as session database.

issue2550721 has a patch for using memcached to provide extended
caching of database lookups (for rdbms only). This improves
performance and the lack of persistence is not an issue.

Something similar could be done with redis. An added advantage of redis 
is that it has persistence. So it could be used not only for primary
database caching (where we don't care about persistence) but also
as a session db. For the session db we need things like session tokens,
registration tokens and json one time use keys to be persistent
across restarts.

Deploying redis for both of these roles would allow a performance 
increase using only one extra redis process rather than having
both memcached and redis.

Session db performance is an issue reported in msg6486 of issue2551036
when recording rate limiting parameters for the REST interface.

----------
keywords: Effort-Medium, GSOC
messages: 7255
nosy: rouilj
priority: normal
severity: normal
status: new
title: Use redis as caching layer or session db implementation.
type: rfe

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551140>
_________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.