Redis is an in-memory, key-value pair database that runs independently, not a third-party library
Redis has three features that differentiate it from many other competitors:
- Redis is a database that stores data entirely in memory and uses disk for persistence purposes only;
- Redis has a relatively rich data type compared to many key-value data storage systems;
- Redis can replicate data to any number of slave servers;
Redis Benefits
Unusually fast: Redis is very fast and can perform approximately 110000 setup operations per second, and 81,000 per second read operations.
Support for rich data types: Redis support most developers already know data types such as lists, collections, sortable collections, hashes, and so on.
This makes it easy to solve a variety of problems in your application because we know which issues to work with which data types are better addressed.
Operations are atomic: All Redis operations are atomic, ensuring that when two customers access the Redis server at the same time, the updated values (the latest value) are obtained.
- Multiutility Tools: Redis is a multifunctional utility that can be used in many such as: cache, Message delivery queue (Redis native support publish/subscribe), in applications such as: Web application sessions, website page hits, etc. any short data;
Redis Learning Notes