Packages

Caching & Key-Value Stores Packages

Client libraries for in-memory caches and key-value stores used to speed up reads and share state across services (Redis, Memcached).

90 packages

Packages in Caching & Key-Value Stores

59Health
Library npm

connect-redis

Redis-backed session store for Express and Connect apps, built on express-session's Store interface.

2,822
MIT
Used by 8
61Health
Library Cargo

Moka

Fast, concurrent in-memory caching library for Rust, inspired by Java's Caffeine

2,711
Apache 2.0
Used by 8
88Health
Library Composer

Predis

A flexible, pure-PHP Redis and Valkey client with clustering and replication support

7,779
MIT
Used by 7
59Health
Library Go

Ristretto

A fast, concurrent, memory-bound in-memory cache for Go with TinyLFU admission and SampledLFU eviction for high hit ratios.

7,005
Apache 2.0
Used by 7
80Health
Library npm

NestJS Cache Manager (@nestjs/cache-manager)

Official NestJS caching module wrapping cache-manager and Keyv for pluggable multi-store caching.

169
MIT
Used by 7
61Health
Library PyPI

django-redis

A full-featured Redis cache and session backend for Django, with pluggable clients, sharding, Sentinel, and compression built in.

3,086
BSD 3
Used by 6
66Health
Library npm

rate-limit-redis

A Redis-backed store for express-rate-limit that shares rate limit counters across multiple Node.js server instances.

218
MIT
Used by 6
40Health
Library npm

@nest-lab/throttler-storage-redis

A Redis-backed storage provider for @nestjs/throttler, letting rate-limit counters survive restarts and be shared across horizontally-scaled NestJS instances.

127
MIT
Used by 6
52Health
Library Go

redigo

A print-like Go client for Redis and Valkey with pipelining, pub/sub, connection pooling, and Lua script helpers.

9,847
Apache 2.0
Used by 5
67Health
Library Go

ttlcache

A generic, thread-safe in-memory cache for Go with per-item TTL, automatic expiration, and loader-based cache-miss handling.

1,306
MIT
Used by 5
72Health
Library PyPI

propcache

Fast, C-accelerated property caching for Python, providing `cached_property` and `under_cached_property` decorators

38
Apache 2.0
Used by 5
78Health
Library Go

badger

An embeddable, persistent key-value database in pure Go, built on WiscKey's LSM-tree-plus-value-log design for high throughput on SSDs.

15,788
Apache 2.0
Used by 4
51Health
Library npm

quick-lru

A simple, fast Least Recently Used (LRU) cache built on a dual-Map design

770
MIT
Used by 4
86Health
Library PyPI

fakeredis

A pure-Python, in-memory implementation of the Redis protocol for testing.

466
BSD 3
Used by 4
74Health
Library Go

Pebble

A high-performance, RocksDB/LevelDB-inspired embedded key-value store written in pure Go for CockroachDB and other Go applications.

6,064
BSD 3
Used by 3
38Health
Library PyPI

python-diskcache

Pure-Python disk and file-backed cache that's faster than Memcached and Redis, with a Django-compatible dict-like API.

2,915
Apache 2.0
Used by 3
79Health
Library Go

Otter

A high-performance, adaptive W-TinyLFU in-memory cache for Go with size, weight, and time-based eviction.

2,702
Apache 2.0
Used by 3
90Health
Library npm

unstorage

A universal async key-value storage API with pluggable drivers for memory, filesystem, Redis, databases, and 30+ cloud platforms.

2,659
MIT
Used by 3
48Health
Library npm

store2

A friendlier localStorage and sessionStorage API with JSON, namespacing, and pluggable extensions

1,943
MIT
Used by 3
81Health
Library Cargo

foyer

A hybrid in-memory and disk cache library for Rust with pluggable eviction algorithms and zero-copy access.

1,836
Apache 2.0
Used by 3
40Health
Library Go

redislock

Distributed Redis locking for Go, with fencing tokens to guard against stale writes after a lost lease.

1,769
Apache 2.0
Used by 3
48Health
Library Go

redis_rate

Redis-backed rate limiting for Go using the GCRA leaky-bucket algorithm.

1,050
Other
Used by 3
66Health
Library PyPI

pymemcache

A comprehensive, fast, pure-Python client for the memcached caching protocol.

843
Apache 2.0
Used by 3
64Health
Library PyPI

limits

Python rate limiting library with pluggable storage backends and multiple windowing strategies

651
MIT
Used by 3

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers