Redis3.0リリース
クラスタのサポートが加わったRedis3.0が正式リリースされました。
また、多数のパフォーマンス改善が行われています。
リリースノート
Redis2.8からの変更点(上記より転載)
- Redis Cluster: a distributed implementation of a subset of Redis.
- New "embedded string" object encoding resulting in less cache misses. Big speed gain under certain work loads.
- AOF child -> parent final data transmission to minimize latency due to "last write" during AOF rewrites.
- Much improved LRU approximation algorithm for keys eviction.
- WAIT command to block waiting for a write to be transmitted to the specified number of slaves.
- MIGRATE connection caching. Much faster keys migraitons.
- MIGARTE new options COPY and REPLACE.
- CLIENT PAUSE command: stop processing client requests for a specified amount of time.
- BITCOUNT performance improvements.
- CONFIG SET accepts memory values in different units (for example you can use "CONFIG SET maxmemory 1gb").
- Redis log format slightly changed reporting in each line the role of the instance (master/slave) or if it's a saving child log.
- INCR performance improvements.
参考記事
Redis3.0でサポートされたクラスタの日本語記事がありました。
- redis clusterの作り方
- Redis Cluster のリシャーディングとorphaned masterの話
-
Redisのクラスタリング
図入りでクラスタリングの仕組みを解説しているので理解しやすいです。
クラスタの仕様書(英語)