singleflight
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.
Collapse concurrent duplicate calls into a single execution — singleflight for asyncio and threads
Single-flight cache stampede protection for Python
Universal caching library for Python with sync/async support, tagging, singleflight pattern and distributed locks.