2. Me
• Rubyist at Spreecast in San Francisco
• redis_failover, method_locator,
synchronizable
• http://github.com/ryanlecompte
• lecompte@gmail.com
• @ryanlecompte
28. RedisFailover::Client
Example
# create new client with list of ZooKeeper servers
client = RedisFailover::Client.new(:zkservers => 'localhost:2181,localhost:
2182,localhost:2183')
# write operations automatically routed to master
client.set(‘foo’, ‘bar’)
# read operations automatically routed to a slave
client.smembers(‘data’)
30. Consider incorporating
ZooKeeper into your overall
architecture.
Utilize the primitives it gives you for
solving your next distributed
programming challenge.
31. Don’t let your Redis servers
go unmanaged in production.
Consider using
redis_failover to sleep
better at night.
32. Thanks for listening!
http://github.com/ryanlecompte/redis_failover
Questions? Ask me at the beach!