Distributed Locking in Kubernetes

Originally aired:

About the Session

Some say that there is no such thing as "distributed lock". Still, sooner or later, chances are you will encounter a problem that only one of your application replicas may execute the given operation at the given time. How to do it right and safe in Kubernetes?

In this session, Rafal will present the following aspects of distributed locking, all in the context of Kubernetes:

  • using ""Lease"" resource as a distributed lock
  • using ""ConfigMap"" resource as a distributed lock
  • using distributed locking libraries (Redis, Hazelcast, Zookeeper)
  • optimistic vs pessimistic locking
  • making locking safe with fencing
  • split-brain issue and the rescue with consensus algorithms
  • real-life use-cases for distributed locking

See Highlights

Hear What Attendees Say

PwC

“Once again Saltmarch has knocked it out of the park with interesting speakers, engaging content and challenging ideas. No jetlag fog at all, which counts for how interesting the whole thing was."

Cybersecurity Lead, PwC

Intuit

“Very much looking forward to next year. I will be keeping my eye out for the date so I can make sure I lock it in my calendar."

Software Engineering Specialist, Intuit

GroupOn

“Best conference I have ever been to with lots of insights and information on next generation technologies and those that are the need of the hour."

Software Architect, GroupOn

Hear What Speakers & Sponsors Say

Scott Davis

“Happy to meet everyone who came from near and far. Glad to know you've discovered some great lessons here, and glad you joined us for all the discoveries great and small."

Web Architect & Principal Engineer, Scott Davis

Dr. Venkat Subramaniam

“Wonderful set of conferences, well organized, fantastic speakers, and an amazingly interactive set of audience. Thanks for having me at the events!"

Founder of Agile Developer Inc., Dr. Venkat Subramaniam

Oracle Corp.

“What a buzz! The events have been instrumental in bringing the whole software community together. There has been something for everyone from developers to architects to business to vendors. Thanks everyone!"

Voltaire Yap, Global Events Manager, Oracle Corp.