关于使用keepalive做redis集群的方案,当一台redis宕机了,另一台redis就会接管服务,但是宕机时,vip漂移,master和slave做角色转换,需要将之前的master的数据同步当前redis中,如果距离上次这种数据同步已经很久了,会不会产生大量的数据,我的问题是,如果在几分钟内同步不完,是不是会导致redis在几分钟内无法提供服务
ringa_lee2017-04-24 09:14:50
There will be a certain delay in the synchronization between the master and backup, but the synchronization is not performed after the role switch. Therefore, the new master can provide services immediately after the role switch, but the data may be missing for a certain period of time (due to synchronization Caused by delays), but the new owner can also be allowed to provide services after complete synchronization, which will cause the service to be unavailable for a period of time.
I don’t understand what is the keepalive solution for redis cluster. The above is just my personal opinion.