Avoid rolling your own leader election algorithm

added by DotNetKicks
5/7/2020 2:31:11 PM

281 Views

Jeremy Miller has an interesting blog post about using advisory locks in Postgres to handle leader elections. This is a topic I spend a lot of time on, so I went over the post in detail. I don't like this approach, because it has several subtle issues that are going to bite you down the road.


0 comments