Redis fragmentation mechanisms (Sharding)

First, the concept

1. The fragmentation mechanism: allows the data stored on different machines, transparent to the client

2. Redis fragmentation mechanisms: reduce the pressure of a single stage Redis example, extended storage capacity and computing power

 

Second, the pre-slicing technology Pre-Sharding

1. Redis not support dynamic slicing, volume expansion and contraction are more complex

2. Pre Segmentation: Redis enough to start the beginning of example, can be on one machine, with the increase of the capacity to migrate to other machines

3. Redis3.0 version Once you have clustering capabilities to address the expansion and load balancing problem, you can no longer use pre-sliced

 

 

 

 

reference:

https://blog.csdn.net/iteye_7682/article/details/82605583

https://www.jianshu.com/p/062cecdda2ec

 

Guess you like

Origin www.cnblogs.com/june0816/p/11073047.html