Redis declaration of antirez!

Source: Internet
Author: User

Http://blog.nosqlfan.com/html/1532.html.

Redis author antirez (Salvatore sanfilippo) recently published an article titled redis
The redis manifesto article lists the seven principles of redis to illustrate the ideas of redis. This site translation is as follows:

  1. Redis is a language tool for operating data structures. It provides TCP-based protocols to operate on rich data structures. In redis, the term "Data Structure" not only indicates operations in a certain data structure, but also includes the structure itself and the temporal complexity of these operations.
  2. Redis is positioned as a memory database. It is precisely because of the fast access to memory that redis can have such high performance that makes it easy to process a large number of complex data structures, redis will try other storage options, but it will never change its role as a memory database.
  3. Redis uses basic APIs to operate on the basic data structure. redis APIs, like data structures, are some of the most basic elements. You can use this API format to represent almost any information interaction. The author joked that if there are other non-human intelligent creatures, they can also understand redis APIs. Because it is such a foundation.
  4. Redis has a poetic and elegant code. Some people who do not know the redis Principles often suggest using some other people's code to implement some features not implemented by redis, but it seems like we have to connect A Dream of Red Mansions to the next 40 times. (The author uses Shakespeare's analogy here)
  5. Redis always avoids 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. The solution to the complex problem is to leave the complex problem unmentioned.
  6. Redis supports two layers of APIs. The first layer includes some APIs, But it supports redis in a distributed environment. The second layer of API supports more complex multi-key operations. They have their own advantages, but we will not launch APIs supported by both, but we hope to provide commands for data migration between instances and execute 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. If we lose fun in coding, the best solution is to stop. We will never choose to make redis not a fun development model.

Original article: redis manifesto

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.