โ Redis learning pathRedis ยท Module 1 of 10
What is Redis?
Redis is an in-memory data store used as a cache, database and message broker.
๐ Key ideas
- Redis keeps data in RAM, so reads and writes take well under a millisecond.
- It stores values under keys, like a giant dictionary shared by many servers.
- Common uses are caching, sessions, leaderboards, rate limits and queues.
- Redis can save data to disk so it survives a restart.
- 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