Provides a smart “failover-aware” client that wrapsexisting Ruby client forRedis
Clients automaticallyconnect to ZooKeeperand register for watchnotiﬁcations
Node Managers monitorRedis servers for availabilityand automatically informclients of failover viaZooKeeper
RedisFailover::Client Example# create new client with list of ZooKeeper serversclient = RedisFailover::Client.new(:zkservers => localhost:2181,localhost:2182,localhost:2183)# write operations automatically routed to masterclient.set(‘foo’, ‘bar’)# read operations automatically routed to a slaveclient.smembers(‘data’)
Companies using redis_failover• Papertrail• Backupify• MediaPiston• IDT Corporation• others
Consider incorporatingZooKeeper into your overallarchitecture.Utilize the primitives it gives you forsolving your next distributedprogramming challenge.
Don’t let your Redis serversgo unmanaged in production.Consider usingredis_failover to sleepbetter at night.
Thanks for listening! http://github.com/ryanlecompte/redis_failover Questions? Ask me at the beach!