ARCHOS 525 BLUEPRINT · /d/dgm_semantic-caching
Semantic Caching for LLM Applications (Embedding Lookup & Tenant ACL)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_semantic-caching) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_semantic-caching)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_semantic-caching" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Semantic Caching for LLM Applications (Embedding Lookup & Tenant ACL) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["LLM App Services"]
n1_1["LLM Cache Proxy"]
n2a_2[("Embedding & Vector")]
n2b_3["Tenant ACL Filter"]
n3_4["LLM Upstream Pool"]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Check · HTTPS"| n1_1
n1_1 -->|"2a. Sim = · gRPC"| n2a_2
n1_1 -.->|"2b. Scope · In-Proc"| n2b_3
n2a_2 -->|"3a. Infer LLM · HTTPS"| n3_4
n2b_3 -->|"3b. Apply · Async"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- LLM App ServicesSTATELESSRepeated & near-dup prompts
- LLM Cache ProxySTATELESSExact hash -> vector lookup
- Embedding & VectorSTATEFULFast embed + ANN threshold
- Tenant ACL FilterSTATELESSStrict tenant + model key
- LLM Upstream PoolSTATELESSCache-miss inference + fill
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- LLM App Services → LLM Cache Proxy (Check)[HTTPS]
- LLM Cache Proxy → Embedding & Vector (Sim >=)[gRPC]
- LLM Cache Proxy → Tenant ACL Filter (Scope)[In-Proc]
- Embedding & Vector → LLM Upstream Pool (Infer LLM)[HTTPS]
- Tenant ACL Filter → LLM Upstream Pool (Apply)[Async]
- LLM Upstream Pool → Downstream & OTel (Emit /)[OTLP/API]