Summary
The biggest change to Redis in the release of the 3.x series is the inclusion of a working, stable, and production-ready Redis Cluster. Redis Cluster is the preferred method of scaling and splitting your data among different Redis instances running on separate machines. While Redis Cluster implements one method of hashing incoming keys through the use of a composite partitioning method and that combines features from hash and range partitioning, there are other options to scale your data through the use of client-side partitioning methods, a few which were illustrated in this chapter. We also examined a popular open source alternative for sharding and partitioning data from Twitter called Twemproxy that provides an intermediary proxy that handles the hash and assignment logic between the application and the Redis instance backends. We then turned back and examined in detail some of the features and functionality of Redis Cluster including its resharding, failover, replacing, and...