What Is Redis?

View saved

Meet Redis

Redis is an in-memory data store. It keeps data in RAM for very fast reads and writes, and it can optionally persist to disk.

More than a cache

  • Caching hot database results
  • Session storage for web apps
  • Rate limiting and counters
  • Queues and simple pub/sub
  • Leaderboards with sorted sets

Keys and values

Everything starts with a key name and a value. Values have types: strings, lists, hashes, sets, and more.

SET greeting "Hello Redis"
GET greeting

What you will practice

This course covers install, redis-cli, core types, TTL, persistence basics, and everyday use cases.

Comments

One comment per signed-in account. Comments are saved with this page’s URL.