Seven Principles of redis

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.