FyroDB: open-source Rust Redis-compatible DB with an OpenAI-compatible semantic cache proxy

Low_Peace1069 · reddit · 2026-12-07

FyroDB (Apache-2.0, Rust, 218 stars) is a Redis-compatible in-memory DB that ships an HTTP proxy for /v1/chat/completions and /v1/completions. It embeds prompts and returns cached answers when cosine similarity exceeds a configurable threshold (default 0.92), skipping upstream model calls. TTL, per-tenant entry limits and a memory budget are configurable. Caveat: the built-in embedder uses hashed n-grams, so it only catches near-duplicate prompts — real semantic matching requires pointing it at an external embedding endpoint. Author is soliciting feedback on thresholds and scoping.

Original post →

More from Infra

Infra channel →