Distributed lock manager
A distributed lock manager (DLM) runs in every machine in a cluster, with an identical copy of a cluster-wide lock database.[src] Operating systems use lock managers to organise and serialise the access to resources.[src] In this way a DLM provides software applications which are distributed across a cluster on multiple machines with a means to synchronize their accesses to shared resources.[src] DLMs have been used as the foundation for several successful clustered file systems, in which the machines in a cluster can use each other's storage via a unified file system, with significant advantages for performance and availability.[src] The main performance benefit comes from solving the problem of disk cache coherency between participating computers.[src] The DLM is used not only for file locking but also for coordination of all disk access.[src] VMScluster, the first clustering system to come into widespread use, relied on the OpenVMS DLM in just this way.[src]
A distributed lock manager (DLM) runs in every machine in a cluster, with an identical copy of a cluster-wide lock database.[src] Operating systems use lock managers to organise and serialise the access to resources.[src] In this way a DLM provides software applications which are distributed across a cluster on multiple machines with a means to synchronize their accesses to shared resources.[src] DLMs have been used as the foundation for several successful clustered file systems, in which the machines in a cluster can use each other's storage via a unified file system, with significant advantages for performance and availability.[src] The main performance benefit comes from solving the problem of disk cache coherency between participating computers.[src] The DLM is used not only for file locking but also for coordination of all disk access.[src] VMScluster, the first clustering system to come into widespread use, relied on the OpenVMS DLM in just this way.[src] ==Linux clustering== Both Red Hat and Oracle have developed clustering software for Linux.[src] OCFS2, the Oracle Cluster File System was added to the official Linux kernel with version 2.6.16, in January 2006.[src] The alpha-quality code warning on OCFS2 was removed in 2.6.19.[src] Red Hat's cluster software, including their DLM and GFS2 was officially added to the Linux kernel with version 2.6.19, in November 2006.[src] Both systems use a DLM modeled on the venerable VMS DLM.[src] Oracle's DLM has a simpler API.[src] (the core function, dlmlock() , has eight parameters, whereas the VMS SYS$ENQ service and Red Hat's dlm_lock both have 11.) ==Other implementations== Other DLM implementations include the following: Google has developed Chubby, a lock service for loosely coupled distributed systems.[src] It is designed for coarse-grained locking and also provides a limited but reliable distributed file system.[src] Key parts of Google's infrastructure, including Google File System, Bigtable, and MapReduce, use Chubby to synchronize accesses to shared resources.[src] Though Chubby was designed as a lock service, it is now heavily used inside Google as a name server, supplanting DNS.[src] Apache ZooKeeper, which was created at Yahoo, is open-source software and can be used to perform distributed locks as well.[src] Etcd is open-source software, developed at CoreOS under the Apache License.[src] It can be used to perform distributed locks as well.[src] Redis is an open source, Redis Source Available License licensed, advanced key-value cache and store.[src] Redis can be used to implement the Redlock Algorithm for distributed lock management.[src] HashiCorp's Consul, which was created by HashiCorp, is open-source software and can be used to perform distributed locks as well.[src] Taooka distributed lock manager uses the "try lock" methods to avoid deadlocks.[src] It can also specify a TTL for each lock with nanosecond precision.[src] A DLM is also a key component of more ambitious single system image (SSI) projects such as OpenSSI.[src] ==References== HP OpenVMS Systems Services Reference Manual – $ENQ Officer - A simple distributed lock manager written in Ruby FLoM - A free open source distributed lock manager that can be used to synchronize shell commands, scripts and custom developed C, C++, Java, PHP and Python software[src]
34 sentences · 34 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Distributed lock manager." encyclopegia.org, 2025, https://encyclopegia.org/wiki/distributed-lock-manager. Accessed 27 November 2026.
Chicago
"Distributed lock manager." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/distributed-lock-manager.
APA
encyclopegia.org. (2025). Distributed lock manager. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/distributed-lock-manager
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON