Introducing LazyLayers 8.0. Faster reads, fewer Redis round trips, and more control over memory.

Explore what’s new

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 8.0

6

On npm today.

  1. Intelligent eviction memory

    A byte budget that gives memory back under heap or container pressure, with S3-FIFO by default and SIEVE, LRU or FIFO.

  2. Two Redis round trips per miss

    Down from seven, lease included. Waiting servers are woken over the bus instead of polling.

  3. One runtime dependency

    Redis, NATS, RabbitMQ and native codecs are optional peers you install only if you use them.

  4. Batches, namespaces, stale-while-revalidate

    getMany, setMany, getOrSetMany, prefixed namespaces and TTL jitter.

  5. Conformance kits

    Test suites for your own store, event bus or eviction policy. Every built-in adapter passes them.

  6. Fault-tested on real Redis

    Fifteen fault scenarios, from a killed loader to a dropped Pub/Sub connection, all passing.

Next

8

Being designed or built.

  1. A read that races a write returns a value

    Today a load whose key is deleted mid-flight throws DistributedLockLostError. That hit 0.04% of a million requests with 1% writes. 8.1 returns the fresh value instead.

  2. Byte limits for the Workers L1

    Size the per-isolate cache in bytes, not only entries, so it stays well inside a Worker’s 128 MB.

  3. Redis Cluster and failover

    Leases checked against replica failover and Cluster resharding, including a failover mid-publish.

  4. Durable invalidation

    An outbox or reconciliation, so an event lost while the bus was down is still applied.

  5. Benchmarks at fleet scale

    Many physical instances under load, rolling deploys, Redis over a real network, hours-long runs.

  6. L2 read batching

    Concurrent reads for different keys grouped into one Redis round trip.

  7. OpenTelemetry package

    Traces and metrics through OpenTelemetry, next to the Prometheus endpoint.

  8. Fair loads across tenants

    Shared limits so one tenant cannot take every loader slot or database connection.

Exploring

6

Kept only if it measures better.

  1. Adaptive TTL

    TTLs that follow how often a key actually changes.

  2. Off-thread compression

    Compress large values without blocking the event loop.

  3. More eviction policies

    CLOCK, segmented LRU and W-TinyLFU, kept only if they win on reproducible traces.

  4. More stores

    Additional shared L2 stores, each passing the conformance kit.

  5. Framework recipes

    Ready-made setups for NestJS, Next.js route handlers, Express and Fastify.

  6. An interactive policy visual

    Watch S3-FIFO, 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.