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
.