keva
keva copied to clipboard
Add replication capabilities
Features:
-
- [ ] Slave registration
-
- [ ] Transfer snapshot file for slave to load current state
-
- [ ] Relay committed operations to slave
-
- [ ] Master slave connection checking
-
- [ ] Partial synchronization for temporary failures with help of write-ahead log
-
- [ ] Slave promotion
-
- [ ] Dedicated protocol for internal communication
Ideas based on Redis replication feature:
#19 implemented basic prototype for [1], [2] ,[3]
#21 added [4] capability on master side
Additional references: https://javamana.com/2021/02/20210212015506083E.html
https://titanwolf.org/Network/Articles/Article?AID=0e2abeac-c210-4c7f-a618-4b8f45b221be
https://www.fatalerrors.org/a/redis-the-mystery-of-replication.html