elliot.hegraeus
en sv
← All projects

Cache Engine

In development Systems 2025

A low-latency key–value cache: a Rust core driven from TypeScript over a binary buffer protocol.

  • Rust
  • TypeScript
  • Node.js
  • serde
  • Jest

Overview

A from-scratch in-process key–value cache engine. A compiled Rust process handles insert/get/remove with TTL expiry, and a TypeScript wrapper drives it over a fixed-size binary buffer protocol on stdio — keeping latency low by avoiding serialisation overhead on the hot path.

Highlights

  • Rust core with TTL-based expiry
  • Fixed-size binary buffer protocol over stdio
  • TypeScript wrapper managing the subprocess lifecycle
  • Configurable key/value sizing
  • Jest test suite