Caleb Woodbine
Software Engineer and Musician
Latest post
- 📝 Leader Election in Go with a Postgres database using Kubernetes tooling
Leader Election is an important part of building distributed and scalable web applications. Often applications may have multiple replicas and could be deployed in a number of ways. Using the principal of read-many-write-one and a concensus algorithm, application replicas are all able to coordinate for a lease to be able to perform write-sensistive tasks to avoid data duplication or conflicts. Whether writing an application as a monolith or soley a scheduler, ensuring one replica writes greatly increases reliability.
...Jun 28, 2024
Latest Mastodon post