Python cluster client for the official redis cluster

This client provides a client for redis cluster that was added in redis 3.0. This project is a port of redis-rb-cluster by antirez, with a lot of added functionality. The original source can be found at https://github.com/antirez/redis-rb-cluster The branch master will always contain the latest unstable/development code that has been merged from Pull Requests. Use the latest commit from master branch on your own risk, there is no guarantees of compatibility or stability of non tagged commits on the master […]

Read more

An implementation of multimap with per-item expiration backed up by Redis

An implementation of multimap with per-item expiration backed up by Redis. Description This lib is based on: https://quickleft.com/blog/how-to-create-and-expire-list-items-in-redis/ without the need for an extra job to delete old items. Values are internally stored on Redis using Sorted Sets : key1: { (score1, value1), (score2, value2), … } key2: { (score3, value3), (score4, value4), … } … Where the score is the timestamp when the value was added. We use the timestamp to filter expired values and when an insertion happens, […]

Read more