How many partitions should we use in Redis? As the data become larger, how can i rearrange the partition? -


i m new team in store customer data hash in redis. our customers million, , hash partition number 8 const in server code, , select partition customer id, number 1 customer in partition 1, number 2 in partition 2, , number 9 still in partition 1, , on. wonder 8 suited data? , customer numbers increase faster, should adjust partition number? , how should choose? btw, m totally newbie redis.

what doing in sharding in redis, , current logic, might face scaling , key movement issues when add new partition, or try increase partitions. thankfully, redis 3.0+ supports redis cluster , stable , production ready, , has drivers in programming languages. manage partitioning automatically. should preferred design.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -