samcook/RedLock.net
An implementation of the Redlock algorithm in C# observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 4388
- days_rel: n/a
- days_push: 800
- n_releases_24m: 0
Adoption not part of the score
1050 stars · 169 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
RedLock.net is a C# library implementing the Redlock distributed lock algorithm on top of StackExchange.Redis. It coordinates locks across multiple independent Redis instances so only one process uses a resource at a time, even across machines.
Use cases
- acquire distributed locks across multiple redis instances in .net
- ensure only one process runs a scheduled job across machines
- prevent duplicate processing of a resource in a microservices cluster
- implement leader election or mutual exclusion with redis
- lock a resource using redlock algorithm in c#
When to choose
- you need distributed locking in a .NET application with Redis available
- you want quorum-based locking across independent Redis masters for fault tolerance
- you want automatic lock renewal and expiry handling
When to avoid
- you only run a single Redis instance and simple SET NX locking suffices
- your project does not use .NET or StackExchange.Redis
- you need strongly consistent locking guarantees that Redlock's timing assumptions cannot provide
Facets
library · maturity stable
caching concurrency database-driver microservices databases developer-tools backend dotnet c redlock redis distributed-locks stackexchange-redis nuget
1 source
- readme: https://github.com/samcook/RedLock.net · fetched 2026-08-28 · 4d54d0d8eb68
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| samcook/RedLock.net | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="samcook/RedLock.net")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem