Original article: http://antirez.com/post/redis-manifesto.html
1: redis is a DSL tool for operating data structures. It provides TCP-based protocols to operate on rich data structures.
2: redis is a memory database. It is precisely because of the fast access to memory that redis can have such high performance.
3: Use Basic APIs to operate on the basic data structure. redis APIs and data structures are the most basic elements. You can use this API format to represent almost any information exchange.
4: elegantCodeSome people who do not know much about redis often recommend that redis use code from others to implement functions not implemented by redis, which is not desirable.
5: We oppose complexity. We believe that the essence of designing a system is to combat complexity. We will not add thousands of lines of code to the source code for a small function.
6: two standard APIs are supported. The first standard only contains some operation APIs, but supports redis in a distributed environment. The second set of standard APIs supports more complex multi-key operations
7: We are happy to optimize the code. We believe that encoding is a hard job, and the only thing we can afford is to enjoy it.