Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Redis as a distributed key value store

My requirements -

  1. Distributed applications sitting on different machines doing set/get operation
  2. Ability to add servers and rebalance certain regions of data. [ A.K.A. - consistent hashing ]

Issues - Looking through REDIS client which boast of implementing consistent hashing - JEDIS,etc. They seem to be storing the key to shardinfo in memory thereby not sure ahow [1] will work.

like image 572
Inder Singh Avatar asked Feb 20 '12 09:02

Inder Singh


1 Answers

This blog post from the author of redis might be helpful. As stated there, for the moment you can shard on the client, which suffers from maintainability problems.

like image 189
hymloth Avatar answered Oct 27 '22 07:10

hymloth