Optional subpackage with Redis utils for the Wumpy project.
The subpackage contains the following utilities:
-
RedisRatelimiter
: A Redis-based implementation of the ratelimiter interface forwumpy-rest
. Allowing shared locks between shards in different processes. -
RedisGateway
: A two-part replacement of theGateway
class inwumpy-rest
for use inwumpy-bot
, using Redis as a pub-sub. This makes rolling out updates easier, as you are no longer confined to the IDENTIFY limit. -
RedisMaxConcurrencyLimiter
: A lock-keeper forwumpy-gateway
that uses Redis to ensure the max-concurrency on the IDENTIFY command is respected.