Invalidate
Difficulty 1 of 5
Four API instances keep local price caches. A write through one instance can leave the other caches stale. Add a change bus so all price updates reach every cache within one second.
TTL 5 minutes · 12 lookups/h · old answers up to 5 minutes
Goals and limits
- Data age
- under 1 s
- Stale reads
- under 3,000
- p99 latency
- under 150 ms
- Monthly cost
- under 100 USD/mo
- Parts you can add
- Managed pub/sub, Local cache
- Part limit
- 16
- Traffic
- 5,000 req/s
Concepts
How players did
Player results load from the server.