윤정민 6fc00b2952 Use exponential backoff for cache-stampede polling (R4)
waitForCache, the schedule month-poll loop, and getOrFetchDynamic all
polled Firestore every fixed 500ms (up to ~50 reads) while waiting for a
lock holder to populate the cache. Replace the fixed interval with a
shared backoffDelayMs helper (300ms base, doubling, 5s cap) bounded by the
same ~25s timeout, cutting per-waiter read amplification by roughly 5x.
Timeout/fallback semantics are unchanged.
2026-05-28 17:25:45 +09:00
2026-04-13 09:18:34 +09:00
2026-04-13 09:18:34 +09:00
2026-04-02 09:00:10 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:34 +09:00
2026-04-13 09:18:34 +09:00
2026-04-02 09:00:10 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:34 +09:00
Description
No description provided
920 KiB
Languages
TypeScript 85.5%
HTML 14.5%