Redis distributed and redis distributed deployment
Yesterday, the company's technical Daniel made a Redis distributed technology sharing: Redis distributed resources: http://redis.io/topics/cluster-tutorial
Http://redis.io/topics/cluster-spec
Https://github.com/StackExchange/StackExchange.Redis General Data sharding: 1, by Id2, by region 3, by business 4, data size ....... Redis Versions later than 3.0 support cluster Dataa and automatic sharding B, automatic failover: you can recall in your mind that the serverless Master/Slave service model Redis cluster cannot achieve strong consistency. Company BBS needs to centralize the relevant information in the business dataset. I want to save it to a machine. key: t_ID T_ID_Users T _........... create a find get key (T _ {ID}) so that you can combine the data in the business dataset into Redis Distributed Learning 1 and manually build Redis yourself2. How can we deploy dynamic +-node? 3. reshard the data Slot4, perform data sharding by yourself (n nodes). 5. Write the data and kill node 6. Then, + node to check whether the data is damaged. 7, the limit Redis limit will make the CPU soar like the LRU algorithm to kill some cached Redis distributed files. There is something similar to the high-speed queue, avoiding the lock and concurrency. I am also a little white, I roughly summarized what Daniel said. I am also using Redis cache, but not distributed.