Metraipolis › archive › dc_dce091e1d0c8
A Three-Layer Caching Architecture for Low-Latency LLM Web Search on Commodity CPU Hardware — arXiv:2609.05463
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.05463
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T13:07:07.082Z
- SHA-256 of the archived text
84ab1710ebbed70b089fa3835b3fa7fe251f85029129cbd9fd04a5169f267889- Stable URL of this page
https://metraipolis.com/documento/dc_dce091e1d0c8
How to cite
A Three-Layer Caching Architecture for Low-Latency LLM Web Search on Commodity CPU Hardware — arXiv:2609.05463 — arXiv (en), https://arxiv.org/abs/2609.05463 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_dce091e1d0c8 (Metraipolis archive dc_dce091e1d0c8, sha256 84ab1710ebbed70b089fa3835b3fa7fe251f85029129cbd9fd04a5169f267889)
BibTeX
@misc{dcdce091e1d0c8,
title = {A Three-Layer Caching Architecture for Low-Latency LLM Web Search on Commodity CPU Hardware — arXiv:2609.05463},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.05463},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_dce091e1d0c8; sha256 84ab1710ebbed70b089fa3835b3fa7fe251f85029129cbd9fd04a5169f267889},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.05463. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
AI-powered search products such as ChatGPT search, Google's AI Overviews, and Perplexity provide LLM-synthesized answers grounded in live web results. We developed OreoLook (formerly lixSearch), an open-source answer engine using automated browser agents and provider-routed LLM inference. Its local search, caching, session-management, and embedding stack runs on commodity CPU hardware; answer synthesis is performed by a remote inference provider. As usage grew, sessions lost context, equivalent queries triggered redundant work, and URLs were repeatedly embedded across sessions. We present a three-layer caching architecture: (1) a Session Context Window maintaining a rolling window of recent messages in Redis with automatic overflow to Huffman-compressed disk archives; (2) a Semantic Query Cache catches rephrasings via cosine similarity on embedding vectors, eliminating redundant LLM invocations; and (3) a URL Embedding Cache that deduplicates embedding computations across sessions. Deployed on a single 8-vCPU Intel Cascade Lake server (2 GHz, 32 GB RAM) running 30 Hypercorn worker processes across three containerized replicas, the evaluated system reported an 89.3% aggregate Redis keyspace hit rate with 0.1 ms read latency and just 1.38 MB of memory overhead. A background LRU eviction daemon migrates idle sessions from Redis to disk and re-hydrates them on demand, enabling conversations that can be resumed hours or days later under the configured retention policy. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-09 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Performance (cs.PF). Pagina del lavoro: https://arxiv.org/abs/2609.05463 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T13:02:21.546Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).