โ† Redis learning path
Redis ยท Module 1 of 10

What is Redis?

Redis is an in-memory data store used as a cache, database and message broker.

๐Ÿ“– Key ideas

  1. Redis keeps data in RAM, so reads and writes take well under a millisecond.
  2. It stores values under keys, like a giant dictionary shared by many servers.
  3. Common uses are caching, sessions, leaderboards, rate limits and queues.
  4. Redis can save data to disk so it survives a restart.
  5. It is single-threaded for commands, which keeps each command atomic.
๐Ÿ’ก Real-life example: Like the snacks kept on your desk instead of in the kitchen: much faster to reach, but you keep only what you use often.
In-memoryData kept in RAM, not on disk
KeyThe name you store a value under
CacheA fast copy of slow data
AtomicRuns fully or not at all, with no interruption