Redis is an open source, network-enabled, memory-based and persistent logging, key-value database written in ANSI C, and provides multiple language apis. As of March 15, 2010, the development of Redis is hosted by VMware. Development of Redis has been sponsored by Pivotal since May 2013.

Redis Chinese official website
Rediswebsite

###Redis 8 features

  1. Fast Redis is realized by C language; All Redis data is stored in memory.
  2. All data in persistent Redis is stored in memory, and updates to the data are asynchronously saved to disk.
  3. Redis supports five data structures: String, List, Set, Hash, and Zset
  4. Supports a variety of programming languages Java, PHP, Python, Ruby, Lua, Node.js
  5. In addition to supporting five data structures, it also supports transaction, pipelining, publish/subscribe, message queue and other functions.
  6. Source code simple about 23,000 lines of C language source code.
  7. Primary/secondary replication The master server adds, modifies, and deletes data, and the secondary server queries data.
  8. High availability and distributed Redis-Sentinel (V2.8) Support High availability Redis-Cluster (V3.0) support distributed

### Application scenario

  1. Caching system
  2. counter
  3. Message queue system
  4. list
  5. The social network
  6. Real-time systems