distributed-locking
CommunityEnforce safe cross-service locking for apps.
Authormarquesfelip
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Distributed coordination and locking across services to prevent concurrent execution of critical sections and ensure single-active workers.
Core Features & Use Cases
- Redis-based distributed locking (SET NX) with TTL
- Fencing tokens to prevent stale lock actions
- PostgreSQL advisory locks for DB-bound operations
- Redlock for multi-node Redis deployments
- Common failure modes and mitigations
Quick Start
Use a Redis-based lock with a TTL around your critical section to ensure only one process runs at a time.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: distributed-locking Download link: https://github.com/marquesfelip/agents-and-skills/archive/main.zip#distributed-locking Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.