I found a big guy’s Redis topic, which I think is very well written. Here is the address:

www.cnblogs.com/ysocean/tag…