Decision Workspace
distributed-lock-postgres vs ash-lock vs rlock
Side-by-side comparison of Rust crates
43
distributed-lock-postgres
experimentalv0.2.0
PostgreSQL backend for distributed locks using advisory locks
52
ash-lock
experimentalv0.1.0
Distributed coordination / locking for the ash-* ecosystem (etcd-backed; in-memory by default)
51
rlock
growingv0.1.0
An easy-to-use Redis-backed lock library providing both async and sync Mutex, RwLock, and others.
Core Metrics
| distributed-lock-postgres | ash-lock | rlock | |
|---|---|---|---|
| Health Score | 43 | 52 | 51 |
| Total Downloads | 2.9K | 14 | 2.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 1 | 0 |
| Releases | 2 | 1 | 11 |
| Last Updated | 282d ago | 7d ago | 92d ago |
| Age | 9m | 7d | 1y |
Health Breakdown
distributed-lock-postgres
Maintenance
7
Quality
13
Community
7
Popularity
4
Documentation
12
ash-lock
Maintenance
13
Quality
14
Community
12
Popularity
1
Documentation
12
rlock
Maintenance
14
Quality
16
Community
5
Popularity
4
Documentation
12
Technical Details
| distributed-lock-postgres | ash-lock | rlock | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 5 | 10 | 7 |
| Crate Size | 24KB | 35KB | 29KB |
| Features | 0 | 3 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.88 | 1.88 | 1.89 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •ash-lock leads with a health score of 52/100, but none of the options score above 80.
- •distributed-lock-postgres has the most downloads (2.9K), suggesting wider adoption.