Lesson 087: Latency and cache strategy
Focus
Swap placeholder nouns for your internal service names immediately. Token Latency and cache strategy:87 keeps neighbouring lessons differentiable.
Key ideas
- Thread: Latency and cache strategy · drill v7 · spin
733653. - Habit: attach a trace_id to every completion you would paste into an ops dashboard.
- Guardrail: add one RACI bullet for prompt or index changes before tomorrow's standup.
Deep dive notebook
Synthetic drill artefacts
Logging contract
| Field | Retention |
|-------|-----------|
| trace_id | 10d |
| prompt_hash | policy-defined |
| completion_excerpt | 24h hot |
Mask tier `pii-v2` before persistence.
Practice
Practice Attach rollback steps if cost-per-request crosses your guardrail. — 87 Bump 10.