intermediatetermWeb foundationsWeb foundations / Backend and APIs / Distributed Locks
IntermediateNot yet reviewed

Distributed Locks

A technique to coordinate mutually exclusive access to shared resources across independent nodes or microservices.

Definition

A technique to coordinate mutually exclusive access to shared resources across independent nodes or microservices.

Use case

Using Redis (Redlock) or Consul to ensure only a single worker instance triggers a scheduled billing payout task.

Related terms

Documentation

Suggest a change