Redis
Remote Dictionary Server
A database that keeps data in memory so it can be read and written very quickly.
In Simple Terms
Redis is a system that keeps data in memory so it can be read and written really quickly. Because it stores each piece of data as a label paired with its contents, it can pull out exactly what you're looking for right away. It's often used to hold frequently requested information ahead of time, which helps a service respond without making you wait. It also shows up when a service needs to hold temporary, per-user information, like what's in your shopping cart.
Behind the Name
Redis is short for "Remote Dictionary Server." Like a dictionary, it stores each piece of data under a name you can look up, and the server part means it hands that data out over a network. So the name sums up the idea: ask from anywhere, and the data comes back as quickly as flipping to a dictionary entry.
Take a Closer Look!
Redis is a type of database that can save and retrieve data extremely fast. While typical databases record data on an SSD or hard drive, Redis keeps data in memory, a speedy working area, and processes it there.
Think of it like spreading your papers out on your desk instead of filing them away on a bookshelf: whatever you need is right there, ready to grab.
Redis manages data by storing a label (called a key) paired with its contents. For example, if you use a student ID number as the label and attach a name to it, you can find the data you want just by giving the number.
It isn't limited to text and numbers, either. It can handle things like ordered lists and collections with no duplicates as they are. Data in memory disappears when the power goes off, but Redis also has features to periodically write the data out to storage so it sticks around.
In real web services and apps, Redis is widely used to temporarily hold frequently used data so pages show up faster. Since the same work doesn't have to be repeated over and over, it also takes some of the load off other databases.
It's also used to keep you logged in, and to tally numbers that change constantly, like game leaderboards or visit counts.