- Here I used two apporoaches Redis-Raft (Distributed version of Redis) and BGSAVE of Redis to make fault tolerant server.
- BGSAVE will create periodic checkpoints.
- Redis-Raft will create a distributed cluster.
3.1 To run BGSAVE, assign Is_raft = False - To run the Redis-Raft, Create a cluster node and connect redis client to it.
- In this case, assign Is_raft = True.
ACKNOWLEDGEMENT : Starter code (API structures) were provided by Course Coordinator.