Introduction to Lock Management

Get an introduction to lock management in Python.

We'll cover the following

When a program tries to access a resource that should not be accessed concurrently, a lock is the easiest mechanism for preventing shared access. Most operating systems provide local primitives for using locks, allowing different programs to request access to a resource without risking stepping on each other’s toes. Unfortunately, once the application is distributed across several nodes (regardless what operating system), things become complicated. This scenario needs a distributed lock manager.

Get hands-on with 1200+ tech skills courses.