Decision Workspace
agent-lock vs non_blocking_mutex vs fast-async-mutex
Side-by-side comparison of Rust crates
41
agent-lock
experimentalv0.1.0
Cooperative execution lock to prevent concurrent agent runs on the same key
53
non_blocking_mutex
growingv3.1.3
NonBlockingMutex is currently the fastest way to do expensive calculations under lock, or do cheap calculations under lock when concurrency/load/contention is very high
49
fast-async-mutex
growingv0.6.7
It is a lib which provide asynchronous locking mechanisms (Mutex, RwLock, OrderedMutex and OrderedRwLock)
Core Metrics
| agent-lock | non_blocking_mutex | fast-async-mutex | |
|---|---|---|---|
| Health Score | 41 | 53 | 49 |
| Total Downloads | 15 | 26.5K | 73.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 9 | 89 |
| Releases | 1 | 19 | 29 |
| Last Updated | 49d ago | 1056d ago | 2045d ago |
| Age | 1m | 2y 11m | 5y 10m |
Health Breakdown
agent-lock
Maintenance
10
Quality
15
Community
5
Popularity
1
Documentation
10
non_blocking_mutex
Maintenance
10
Quality
19
Community
9
Popularity
5
Documentation
10
fast-async-mutex
Maintenance
6
Quality
15
Community
10
Popularity
6
Documentation
12
Technical Details
| agent-lock | non_blocking_mutex | fast-async-mutex | |
|---|---|---|---|
| Version | 0.1.0 | 3.1.3 | 0.6.7 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0/MIT |
| Dependencies | 0 | 4 | 2 |
| Crate Size | 3KB | 13KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •non_blocking_mutex leads with a health score of 53/100, but none of the options score above 80.
- •fast-async-mutex has the most downloads (73.6K), suggesting wider adoption.
- •⚠ non_blocking_mutex, fast-async-mutex have not been updated in over a year.
- •agent-lock, fast-async-mutex are pre-1.0 — API may change.