TemporalStore
Open-source Rust storage for online features, LLM context, and control state.
Feature serving and LLM context are equally important, first-class workloads.
Serve latest values, long histories, high-cardinality aggregates, WindowReduce
features, frequency caps, and agent memory in one engine. Context ingestion,
retrieval, ranking, token-budgeted packing, APIs, and SDKs are in TemporalStore.
Apache-2.0, available worldwide for use, modification, commercial deployment,
and contributions under the license.
Documentation |
Issues
Implementation entry points
On this page: Quick start |
Use cases | Recorded benchmarks |
Durability | Deployment boundaries |
Contributing.
The provider guide separates latest values, optional history, aggregates, and tracked
teardown. Enabling one path does not establish the throughput or storage cost of the
others; choose the API and acknowledgement policy before measuring a workload.
Use cases
| Workload | What you can build | Start here |
|---|
| Feast online serving | Materialize features and retrieve current entity values through Feast, with explicit timestamp, expiry, and acknowledgement policies | Feast integration |
| Latest features and profiles | User/item profiles, lookup features, hashes, and online state for recommendation, search, ads, and personalization | One-cluster architecture |
| Long-sequence features | Recent clicks, sessions, interactions, and typed behavior histories; timestamp-window reads and count-based retention | Sequences and aggregates |
| High-cardinality features | Separate user-item, user-category, user-author, device, or campaign histories; exact windowed count, sum, average, min/max, and first/last | Aggregate example |
| WindowReduce Features | Merge cell samples, reduce member statistics over a time window, and rank candidates by counts, ratios, or weighted scores | Window Reducer model, worked example |
| Control state | Set/get online state, atomic single-key counters, quotas, pacing, suppression, and risk/fraud decisions | Control-state guide |
| Frequency caps | Per-user, campaign, or placement exposure limits using windowed counters | Frequency-cap guide |
| LLM context and agent memory | Conversations, resources, entities, reusable memory, retrieval, and token-budgeted context assembly | Context guide |
| vLLM KV cache | Reuse prompt KV blocks across requests and worker processes with LMCache | KV cache setup |
| Collections, blobs, and streams | Membership/deduplication, sorted sets, lists, multipart blobs, range reads, and batch/stream ingestion | Command surface |
LLM KV cache with LMCache and vLLM
TemporalStore provides a shared L2 cache for LMCache and vLLM. vLLM's
LMCacheMPConnector exchanges KV blocks with its local LMCache server.
LMCache uses the same TemporalStore Python SDK as the Feast integration.
TemporalStore places each model and parallel layout in a table and stores
each KV chunk as one binary value. The table owns placement, expiry, and
replication. Workers using the same model and layout reuse a shared table.