Skip to content
AgenticAIWiki

Cache layers and a standby region

Full screen
missmissprefixexact hitsimilar hitfresh answerRequestResponse cacheexact matchSemantic cachesimilar matchPrompt cacheshared prefixModelregion AAnswer

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

  1. 70.1Response, semantic and prompt caches4 min read
  2. 70.2Cache keys, TTLs and invalidation4 min read
  3. 70.3Multi-region and failover4 min read
  4. 70.4Data residency4 min read
  5. 70.5Worked example: cloud platforms and regional endpoints4 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…