Databases Key-Value / Cache mature

Redis

In-memory data structure store for sub-millisecond latency

68.0K stars 700 contributors Since 2009
Website → GitHub

In-memory key-value store supporting strings, hashes, lists, sets, sorted sets, streams, and modules for JSON, search, time-series, and graph data structures.

License
RSALv2
Min RAM
128 MB
Min CPUs
1 core
Scaling
horizontal
Complexity
beginner
Performance
enterprise grade
Self-hostable
K8s native
Offline
Pricing
fully free
Docs quality
excellent
Vendor lock-in
none

Use cases

  • Application cache layer for database query results
  • Session storage for web applications
  • Real-time leaderboards and counters
  • Message broker with Streams
  • Rate limiting and throttling

Anti-patterns / when NOT to use

  • Data must fit in RAM - expensive at scale
  • Not for primary data storage (persistence is secondary)
  • Complex data relationships not supported
  • License changed from BSD - check RSALv2 terms

Conflicts with

KeyDB
Databases
Dragonfly
Databases

Replaces / alternatives to

  • Memcached
  • DynamoDB for caching

Technical specs

Language
C
API type
SDKCLI
Protocols
RESP
Data model
kv
Deployment
aptdockerbinary
SDKs
pythonjavascriptjavagorustrubyphpcc#

Community

GitHub stars 68.0K
Contributors 700
Commit frequency weekly
Plugin ecosystem medium
Backing Redis Ltd
Funding open_core

Release

Latest version
Last release
Since 2009

Best fit

Team size
solosmallmediumenterprise
Industries
generalfintechgamingsocial-mediae-commerce

Tags

  • cache
  • in-memory
  • key-value
  • pub-sub
  • streams
  • data-structures
  • session-store