Redis is an open source API that is written in ANSI C, supports the web, can be persisted in memory, key-value databases, and provides multiple languages.
Learning Video: HTTPS://PAN.BAIDU.COM/S/17NO3PG9HRL-RTU0BWATYLW
Redis is also something that MySQL DBAs should be familiar with
Redis is a high-performance Key-value database. The emergence of Redis, to a large extent, compensates for the lack of memcached such keyvalue storage, in some cases can be a good complement to the relational database. It provides the python,ruby,erlang,php client, which is very convenient to use.
Best practices: Applications where data changes quickly and database sizes are met (for memory capacity).
For example: stock price, data analysis, real-time data collection, real-time communication. The current popular Sina Weibo is the use of Redis
Performance Test Results:
Set operation 110,000 times per second, get operations 81,000 times per second,
The server is configured as follows:
Linux 2.6, Xeon X3320 2.5Ghz.
The StackOverflow website uses Redis as a cache server.
Redis from getting started to mastering the Video Tutorial Course Catalog:
Lesson 1, Redis introduction (top)
Lesson 2, Redis introduction (bottom)
Lesson 3, String key (top)
Lesson 4, String key (medium)
Lesson 5, String key (bottom)
Lesson 6, hash key (top)
Lesson 7, hash key (bottom)
Lesson 8, List key (top)
Lesson 9, List key (middle)
Lesson 10, List key (bottom)
Lesson 11, set key (top)
Lesson 12, Set key (bottom)
Lesson 13, ordered set (1): basic operation
Lesson 14, ordered set (2): Score range operation
Lesson 15, ordered set (3): Set operation operations
Lesson 16, Hyperloglog
Lesson 17, Database (1): Single-Touch processing command
Lesson 18, Database (2): Sort commands
Lesson 19, Database (3): Get key command
Lesson 20, Database (4): Database commands
Lesson 21, Key expiration function (top)
Lesson 22, Key expiration function (bottom)
Lesson 23, Publication and subscription (top)
Lesson 24, publishing and subscription (bottom)
Lesson 25, assembly line
Lesson 26, Business (top)
Lesson 27, Business (next)
Lesson 28, Lua scripting
Lesson 29, Introduction
Lesson 30, building a micro-blog (top)
Lesson 31, Building micro-blog (middle)
Lesson 32, building a micro-blog (next)
Lesson 33, Forum building Examples (top)
Lesson 34, Forum Build example (middle)
Lesson 35, Forum Building Examples (bottom)
Lesson 36, Blog building examples
Lesson 37, Server configuration options
Lesson 38, RDB persistence
Lesson 39, AOF persistence
Lesson 40, Server Management
Lesson 41, Introduction
Lesson 42, Replication and Sentinel (top)
Lesson 43, Replication and Sentinel (below) new
Lesson 44, Twemproxy (UP)
Lesson 45, Twemproxy (next)
Lesson 46, Cluster (top)
Lesson 47, cluster (middle)
Lesson 48, cluster (bottom)
Lesson 49, Introduction to the principle of Redis implementation (top)
Lesson 50, Introduction to the principle of Redis implementation (medium)
Lesson 51, Introduction to the Principles of Redis implementation (bottom)
60 times times faster than MySQL Redis from getting started to mastering video tutorials