Listen

Description

We continue our discussion of Designing Data-Intensive Applications, this time focusing on multi-leader replication, while Joe is seriously tired, and Allen is on to Michael's shenanigans.

For anyone reading this via their podcast player, this episode's show notes can be at https://www.codingblocks.net/episode161, where you can join the conversation.

Sponsors

Survey Says

How do you put on your shoes?

News

When One Leader Just Won't Do

DesigningData-Intensive Applications Talking about Multi-Leader Replication

Replication Recap and Latency

Techniques for mitigation replication lag

Replication isn't as easy as it sounds, is it?

Multi-Leader Rep…lication

Single leader replication had some problems. There was a single point of failure for writes, and it could take time to figure out the new leader. Should the old leader come back then…we have a problem. Multi-Leader replication…

When to use Multi-Leader Replication

Comparing Single-Leader vs Multi-Leader Replication

Performance – because writes can occur in each datacenter without having to go through a single datacenter, latency can be greatly reduced in multi-leader

So it's clear right? Multi-leader all the things? Hint: No!

Problems with Multi-Leader Replication

Clients with offline operation

Collaborative editing

Google Docs, Etherpad, Changes are saved to the "local" version that's open per user, then changes are synced to a central server and pushed out to other users of the document

Conflict resolution

Multi-Leader Replication Toplogogies

Resources We Like

Tip of the Week

https://resources.jetbrains.com/help/img/idea/2021.1/basic_request.png