Uses of Distributed Locks
Distributed Mutual Exclusion
There are several resources in a system that mustn't be used simultaneously by multiple processes if the program operation must be correct. For example, a file mustn't be simultaneously updated by multiple processes or the use of printers must be restricted to a single process simultaneously. Therefore, exclusive access to such a shared resource by a process must be ensured. This exclusiveness of access is called mutual exclusion between processes. The sections of a program that need exclusive access to shared resources are referred to as critical sections. Solutions are needed to grant mutual exclusive access by processes. We can use distributed locking for mutually exclusive access to resources.
Features of Distributed Locks
A distributed lock service should satisfy the following properties:
from DZone.com Feed https://ift.tt/3lL2vpu
No comments:
Post a Comment