Semantic cache and entry lifetime
Difficulty 3 of 5
A support bot gets 40 requests/s: 38 questions and 2 staff answer rewrites. Questions cover 3,000 topics in 8 phrasings each. Two H100 GPUs serve about 24 chats/s. Tune the cache: p99 under 6 s, at most 2 percent wrong answers, and no edited answer served for over 3 min.
1,600 keys · hit 81% · mean 3.2 ms
Goals and limits
- p99 latency
- under 6 s
- Data age
- under 180 s
- Error rate
- under 1%
- Quality
- at least 0.98
- Monthly cost
- under 3,900 USD/mo
- Hosts
- 2 × 1 vCPU · 80 GB
- Traffic
- 40 req/s
Concepts
How players did
Player results load from the server.