LazyLayers RoadmapUpdated
What we’re building next.
No dates. An item ships when it has tests, a benchmark and documentation, and we publish where it loses next to where it wins.
Roadmap board
Shipped in 9.0
10On npm today.
Any number of layers
Hot memory, a compressed warm tier, Redis, Cloudflare KV and stores you write, each with its own policy, limits, deadline and breaker.
Intelligent batching
Reads, writes and deletes made together run as one Lua script per 64 keys: 500 keys, 8 script calls.
Your own Lua
cache.runScript runs named scripts on cache keys, fenced against loads in flight and synced to every server.
Outage recovery
Missed invalidations resent, missed writes repaired, and a Redis Streams outbox that replays what peers missed.
Fleet-tested
Six servers in Docker under a Redis freeze, Sentinel and Cluster failovers and a crashed lease holder.
Fair loads across tenants
Waiting loads served round-robin per tenant, with per-tenant caps.
Adaptive TTL and memory sync
TTLs that follow how often a key changes, and memory checked against the shared layer after a bus gap.
Off-thread compression and LFU
Large values compressed on the libuv pool, and LFU joins S3-FIFO, SIEVE, LRU and FIFO.
Byte limits for the Workers L1
The per-isolate cache is bounded in bytes as well as entries: 32 MiB by default.
A read that races a write returns a value
A load whose lease another server took over returns its value instead of throwing.
Next
4Planned. No dates.
Batching on Redis Cluster
Batch scripts group keys by hash slot, so Cluster gets the same round-trip savings as standalone Redis.
OpenTelemetry package
Traces and metrics through OpenTelemetry, next to the Prometheus endpoint and diagnostics_channel.
Shorter failover windows
Fewer stale reads while a Sentinel or Cluster failover is in progress.
Benchmarks over a real network
Many physical machines, rolling deploys and hours-long runs, beyond one host.
Exploring
4Kept only if it measures better.
More eviction policies
CLOCK, segmented LRU and W-TinyLFU, kept only if they win on reproducible traces.
More stores
Additional shared stores, each passing the conformance kit.
Framework recipes
Ready-made setups for NestJS, Next.js route handlers, Express and Fastify.
An interactive policy visual
Watch S3-FIFO, LFU, SIEVE and LRU handle the same trace, side by side.
Have a use case?
Tell us what you need.
Open an issue with your workload: what you cache, how many instances, which store and bus. Real workloads decide what moves up.