madelson/DistributedLock
A .NET library for distributed synchronization observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 92
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 77
- age_days: 4107
- days_rel: 50
- days_push: 50
- n_releases_24m: 8
Adoption not part of the score
2481 stars · 248 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
DistributedLock is a .NET library providing robust distributed mutexes, reader-writer locks, and semaphores built on various backing technologies like SQL Server, Postgres, MySQL, Oracle, and Redis. It lets multiple applications or machines safely synchronize access to code regions with a simple async acquire/release API.
Use cases
- synchronize code execution across multiple app instances
- acquire a distributed lock backed by SQL Server or Postgres
- prevent duplicate cron job execution in a scaled-out service
- implement distributed semaphores to limit concurrent workers
- coordinate access to a shared resource across machines in .NET
When to choose
- you need battle-tested distributed locking primitives in .NET
- you want multiple backend options (databases, Redis, ZooKeeper) behind one API
- you need async/await-friendly locks with handle-based release semantics
When to avoid
- you only need single-process locking (use built-in Monitor/SemaphoreSlim)
- your stack is not .NET
- you need a lock service without any existing database or Redis infrastructure to back it
Facets
library · maturity stable
concurrency caching database developer-tools microservices backend developer-tools databases dotnet cross-platform distributed-lock mutex semaphore reader-writer-lock sync-primitives sql-server postgres redis zookeeper
1 source
- readme: https://github.com/madelson/DistributedLock · fetched 2026-08-28 · e6419b5f8c1c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| madelson/DistributedLock | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="madelson/DistributedLock")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem