Coalesce multiple identical calls into one, preventing thundering-herd/stampede to database/other backends
-
Updated
Jan 27, 2022 - Python
Coalesce multiple identical calls into one, preventing thundering-herd/stampede to database/other backends
Dependency-free async Python library for building consistent, traceable snapshots from multiple read-only sources with caching, batching, single-flight deduplication, retries, circuit breakers, and sync support.
Flexible sync and async singleflight for Python — collapse concurrent calls sharing a key into one execution. Typed, zero-dependency cache-stampede protection.
Collapse concurrent duplicate calls into a single execution — singleflight for asyncio and threads
Single-flight cache stampede protection for Python
Implementation of singleflight-cluster. With zk + consistenthash. Also has herd watch call prevention. Intended as an exercise, and example for future work
Automated media archiving hub. Crafted for NAS users with an ultra-stable organization experience.
Stop paying twice for the same agent work. Collapses duplicate tool calls across parallel agents into one execution with signed receipts. Zero dependencies.
Universal caching library for Python with sync/async support, tagging, singleflight pattern and distributed locks.
Add a description, image, and links to the singleflight topic page so that developers can more easily learn about it.
To associate your repository with the singleflight topic, visit your repo's landing page and select "manage topics."