Index: 0 / 200Staging: 0
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Search Index Freshness & TTL Simulator

Every retrieval-augmented system faces the same tension once documents start changing: an index that never updates goes stale, but re-indexing everything constantly is expensive. This simulator models a live retrieval index as a ring buffer of document slots on a rotating torus — new documents spawn as a Poisson arrival process, sit in an outer "staging" ring while an incremental indexer catches up to an ingestion-latency delay, then join the inner "indexed" ring where they age from fresh green toward TTL-orange until either the TTL clock or capacity pressure evicts them. A simulated query stream continuously probes a set of topics and measures whether each topic's most current document is actually live in the index right now, giving three real-time metrics — freshness hit rate, index coverage and average indexed-document age — that trade off directly against the arrival rate, ingestion latency, TTL window and topic-count controls.