redis cluster
- r: distributed systems are hard
Jan-Erik Rediger
- 28. Mai 2015
redis cluster or: distributed systems are hard Jan-Erik Rediger - - PowerPoint PPT Presentation
redis cluster or: distributed systems are hard Jan-Erik Rediger 28. Mai 2015 Hi, Im Jan-Erik Student of Computer Science, RWTH fjrst Redis-related project: 2010 (an Erlang client) Maintainer of try.redis.io hiredis
Jan-Erik Rediger
who am i?
redis
redis
redis
limits
limits
limits
redis cluster
redis cluster
redis cluster
redis cluster
redis cluster
redis cluster
cap - pick two
cp - consistent & partition tolerant
ap - available & partition tolerant
sharding + replication
replication: asynchronous
full mesh
redirections
slot configuration
single-key operations
multi-key operations
multi-key operations
multi-key operations with hash tags
node times out: pfail
all remaining nodes see pfail
pfail → fail
force fail, trigger failover
actual failover
actual failover
is it consistent?
is it consistent?
is it consistent?
failure: crashes
failure: network split
failure: network split
configuration
let them meet
* on every node ;)
more convenient
more commands you want to know
and some more
all cluster commands
nodes.conf
available clients
sources
the end
Get the slides here: http://slidr.io/badboy/redis-cluster Reach me on Twitter: @badboy_ Jan-Erik Rediger - 28. Mai 2015 - PHPUGDUS