Feature refresh interval
Difficulty 4 of 5
A fraud model reads a card velocity feature 4,000 times/s. A cached value is recomputed from the event database when it expires. The model loses its gain when the value is older than 30 s. Keep p99 under 150 ms and cost under 60 USD/mo. Tune the cache TTL and the database vCPU.
2 workers · 1 TB moves in 1.1 h · 1,000 Mbps per card
Goals and limits
- p99 latency
- under 150 ms
- Error rate
- under 0.1%
- Data age
- under 30 s
- Monthly cost
- under 60 USD/mo
- Traffic
- 4,000 req/s
Concepts
How players did
Player results load from the server.