Internal working of Sentinel

This post is based on Redis 4.0.6. Main source of Sentinel is sentinel.c. When a Redis process is run in sentinel mode, sentinelTimer() is called. Inside it, all Sentinel's logic flows. The way to recognize the other Sentinel At initial Sentinel config, there is no info for the other Sentinels. There are only options for … Continue reading Internal working of Sentinel

Important Sentinel options

At the previous post, I wrote about setting up Sentinel. This post explains some important options for a production system. The following is a sample Sentinel config. (based on Redis 4.0.x) You can check full documentation here. sentinel monitor format : sentinel monitor <master-name> <ip> <redis-port> <quorum> master-name : master alias which is used as … Continue reading Important Sentinel options