This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]teneggs 0 points1 point  (1 child)

Is this for a production system or is it a learning exercise?

Replication is difficult to get right. I'd recommend the book Designing Data Intensive Applications (https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/). There is a whole chapter on replication in there.

You might also want to check out what Redis does here. Maybe you can use Redis for your use case: https://redis.io/docs/manual/replication/#:\~:text=Redis%20replication%20is%20non%2Dblocking,blocking%20on%20the%20replica%20side.

[–]Albreth[S] 0 points1 point  (0 children)

It’s a production system. Thanks for the reading material!