Caching layers and multi-region
5 lessons · 20 min
Cache layers and a standby region
Swipe to change step
Step 1 of 8. "Caching" means three different things in AI systems. A request checks each layer in turn, cheapest first. Request. Response cache (exact match), highlighted. Semantic cache (similar match), highlighted. Prompt cache (shared prefix), highlighted. Model (region A). Answer. arrow from Request to Response cache. arrow from Response cache to Semantic cache, labelled miss. arrow from Semantic cache to Prompt cache, labelled miss. arrow from Prompt cache to Model, labelled prefix. arrow from Response cache to Answer, labelled exact hit. arrow from Semantic cache to Answer, labelled similar hit. arrow from Model to Answer, labelled fresh answer.
In this chapter
Chapter check
Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.
Loading check…