Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?
Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?
Atomically cached len(), for use with collections contained in parking_lot Mutex and RwLock
A CLI tool for CIs and build scripts, making file system based caching easy and correct (locking, eviction, etc.)
A small read-biased RwLock for sharded, read-heavy caches
Cache-Locked Temporal Decay Sketch - 1 MB, lock-free streaming heavy-hitter detection with temporal decay
PDK Lock Library
A high-performance, concurrent cache for Rust with lock-free slot management and pluggable eviction policies.
Version lock, cache, and run binaries from any Github Release assets. Pull in external tools and keep the versions in sync across your team, and forget installing globally.
Run Cargo commands on workspaces in workspaces
Show nixpkgs pin cache coverage vs nixos-unstable channel and Hydra build farm
scan resistant concurrent cache eviction manager
Tracking cache validity using fast concurrent invalidation propogation.
High-performance buffer pool with constant-time allocation, thread-safe operations, and 5x speedup over bytes crate
Lock and cache methods, in case things should only be calculated once across processes.
Lock and cache methods, in case things should only be calculated once across processes.