5min chapter

Add Dot cover image

Event Modeling and Event Sourcing

Add Dot

CHAPTER

How to Prevent a Split Brain in a Cluster

I implemented a cluster our our zoom product clustering and I found a really cool technique for you know dealing with the split brain potential for split brain right so here's a scenario what happens if you have a three node cluster and you lose the leader how do you prevent a split brain. If that nodes identity is greater lexicographically greater than yours then you give up your vote of to be to be the leader and that node becomes the leader it's called the bully algorithm. You're actually just saying okay i'm bigger than you sort of i wouldn't so that solves a lot of problems and you can retain a quorum of of nodes, but chances are good kubernetes has possibly

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode