go-redsync/redsync
Distributed mutual exclusion lock using Redis for Go observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3865
- days_rel: n/a
- days_push: 8
- n_releases_24m: 0
Adoption not part of the score
4043 stars · 349 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Redsync is a Go library implementing the Redlock algorithm for distributed mutual exclusion locks backed by Redis. It supports multiple Redis client drivers (go-redis and redigo) and works with single or multiple Redis instances.
Use cases
- acquire a distributed lock across multiple Go service instances
- prevent duplicate cron job execution in a cluster
- ensure only one worker processes a task at a time
- implement leader election with Redis
- coordinate access to a shared resource across microservices
When to choose
- you need mutual exclusion across processes or machines using Redis
- your Go project already uses go-redis or redigo
- you want a mature, widely adopted Redlock implementation
When to avoid
- you need formally proven correctness guarantees (Redlock is a proposal, not formally analyzed)
- you don't already run Redis and don't want to add it
- you only need single-process locking (use sync.Mutex instead)
Facets
library · maturity stable
caching concurrency database-driver databases microservices developer-tools go windows cross-platform redis distributed-lock redlock mutex mutual-exclusion linux macos
10 sources
- readme: https://github.com/go-redsync/redsync · fetched 2026-08-28 · 84dc13092f1b
- homepage: http://redis.io/topics/distlock · fetched 2026-08-29 · 08551405291f
- site_page: https://redis.io/docs/latest/operate/oss_and_stack · fetched 2026-08-29 · 3a14b9e8b81d
- site_page: https://redis.io/docs · fetched 2026-08-29 · a52f7d1aa690
- site_page: https://redis.io/docs/latest/develop/whats-new · fetched 2026-08-29 · 2101cc188adc
- site_page: https://redis.io/docs/latest/develop/tools · fetched 2026-08-29 · 9766e66d53f5
- site_page: https://redis.io/docs/latest/develop/ai/agent-builder · fetched 2026-08-29 · 3c0f20c8616b
- site_page: https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack · fetched 2026-08-29 · ad9fbb2b9cc6
- site_page: https://redis.io/docs/latest/develop/data-types · fetched 2026-08-29 · 349af348b168
- site_page: https://redis.io/docs/latest/develop/get-started · fetched 2026-08-29 · 3cdfdbbc3dcc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-redsync/redsync | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="go-redsync/redsync")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem