Redis pre-sharding (pre-distributed)

Source: Internet
Author: User

The recent project progress is relatively tight, and several projects have been synchronized and few summary are made. I especially like review on GitHub.CodeThe font is good and clear. This project is implementing the distributed design of redis, a previous version is based on the http://www.ooso.net/archives/549
The light cloud principle is implemented, and the hset and hget improvements are made to get, set, to reduce the key that occupies 2G memory to 700 m. However, it is a waste to go through two Io operations for each query. In the simple set test, the get can only reach about 4000 kbit/s, which is really low.

Reading the http://antirez.com/post/redis-presharding.html
Later, this was written by the author of redis. I implemented the distributed redis pre-sharding according to his principle.

ProgramIn https://github.com/wangmh/distr-redis
.

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.