Confluent Developer ft. Tim Berglund, Adi Polak & Viktor Gamov cover image

Using Kafka-Leader-Election to Improve Scalability and Performance

Confluent Developer ft. Tim Berglund, Adi Polak & Viktor Gamov

00:00

How to Track Clients in Sync

The leader, what it's tracking is, hey, these are my followers. And they're constantly sending me these fetch requests. So we know all the new data from that fetch offset is what we should send back to the follower. We also keep track of the lag how far behind they are, like you said, in terms of offsets. This is setting which can control how far behind the followers can be. If a follower is behind that, you will kick it out of the ISR and you'll shrink the ISR basically.

Play episode from 12:49
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app