A cache module for Node.js that uses a two-level cache (in-memory cache for recently accessed data plus Redis for distributed caching) with some extra features to avoid cache stampedes and thundering herds. Also includes mutex and semaphore distributed locking primitives.
I'd like to use this to talk to clustered redis, but the current implementation requires the use of the redis package which doesn't yet have redis cluster support. If there was some way to change the way that the client rather than hard coding the use of the redis client it would allow the use of other libraries which do have that support.
I'd like to use this to talk to clustered redis, but the current implementation requires the use of the
redis
package which doesn't yet have redis cluster support. If there was some way to change the way that the client rather than hard coding the use of the redis client it would allow the use of other libraries which do have that support.