Module store

Source

Structs§

InternalRedisStore
InternalRedisStore is a store implementation that uses Redis module APIs in that it’s designed to run from within a Redis runtime. This allows us to cut some corners around atomicity because we can safety assume that all operations will be atomic.
MemoryStore
MemoryStore is a simple implementation of Store that persists data in an in-memory HashMap.

Traits§

Store
Store exposes the atomic data store operations that the GCRA rate limiter needs to function correctly.