{ "hypothesis": "Without singleflight, concurrent cache misses on the same history page issue one SQL SELECT per waiter; with in-process singleflight they share one load.", "concurrency": 24, "artificial_miss_delay_ms": 250, "stampede_sql_without_singleflight": 24, "stampede_sql_with_singleflight": 1, "read_after_write": "POST message increments histver; next GET misses and returns the new row", "stale_when_invalidate_disabled": "GET after POST omitted the new text until invalidate was re-enabled", "redis_restart": "AOF restored the Bearer session; history was rebuilt from PostgreSQL" }