Redis is an in-memory key-value store maintained by Redis Ltd, with its core kept open-source. It's the fifth most-used database in developer surveys, at roughly 28% usage share. Because it reads and writes straight from RAM, it delivers sub-millisecond response times, which is why it's the default choice for caching, session storage, leaderboards, rate limiting, and pub/sub messaging.
Real commands run against the Redis CLI — simple key-value operations plus an atomic counter and an expiring key.
SET user:1001:name "Ava Chen"
GET user:1001:name
# => "Ava Chen"
EXPIRE user:1001:name 3600 # key auto-deletes after 1 hour
INCR page:home:views # atomic counter, returns the new value
Run Redis locally with Docker in seconds, then connect with the redis-cli client.
# Docker: run a local Redis instance
docker run --name redis -p 6379:6379 -d redis:7
# connect with redis-cli
redis-cli -h localhost -p 6379