# Status review, 2026-11-08

> Why pgredis did not reach a release before 2026-11-08, what was decided, and what the MVP candidate measured.

---

LLMS index: [llms.txt](/llms.txt)

---

## Scope {#scope}

This review covers pgredis up to commit `c25638e1b` (2026-10-30, the last commit before the review) and the decisions made on 2026-11-08. It replaces no earlier record. The resulting goal is [MVP goal (v0.1.0)](/docs/redis/design/mvp-goal/).

## State before the review {#state}

- **Architecture:** a Go gateway for RESP and sessions, and a PostgreSQL 18 C extension (`pg_redis`) that runs every command; PostgreSQL is the only persistent layer.
- **Commands:** all classic Redis 7.2.4 data families had an implementation: String, Hash, List, Set, ZSet, Stream, Bitmap, HyperLogLog, Geo, Pub/Sub, transactions and keyspace commands. The 87 commands marked pending were all out of scope: Cluster, Sentinel, Lua/Functions, Redis replication, persistence files, modules and `SHUTDOWN`.
- **Size at `c25638e1b`:** about 29,000 hand-written lines of C plus 54 SQL migration scripts (schema `0.1` to `0.53`); about 11,500 lines of non-test Go. Test code was about five times the product code.
- **History:** schema `0.1` to `0.50` was built from 2026-10-06 to 2026-10-15. From 2026-10-16 to 2026-10-30 only three schema versions were added. Of 906 commits, about 13% were `feat`, `fix` or `perf`; most of the rest recorded test evidence. No commit was made after 2026-10-30.
- **Gates:** no delivery stage was formally closed. The fixed G5 benchmark met its throughput bounds but failed p50 with `synchronous_commit=on` (for example `SET` p50 6.743 ms and `GET` p50 3.559 ms on 2026-10-30). Seven 24-hour runs had started and none completed. The official Redis matrices still had failures and aborted files.

## Why the work did not finish {#causes}

1. **A goal with no intermediate stop.** Completion required all stages P0–P6 at once, and the goal text stated that a runnable MVP does not count. The first installable stage (P4) was a waypoint, not a stopping point.
2. **Zero-tolerance gates.** G5 was defined with `synchronous_commit=off` in the PRD; that definition passed on 2026-10-29, but the gate had been moved to `on`. A 24-hour run failed on one request slower than 3 s or 8 s. The official suites required zero failures, and the 55 cases excluded by the persistence decision were not subtracted.
3. **Change a little, retest everything.** A dated pass did not count for newer source bytes, so each product change reopened earlier results. Each narrow check was reviewed twice offline, with process, session and volume retirement evidence. Late fixes addressed edge cases such as tracking order across shared redirects.
4. **Test fidelity on hot paths.** Two features that exist mainly for `OBJECT` output made core commands slow:
   - every `GET` updated LRU/LFU metadata, so reads also waited for a WAL flush;
   - every `LPUSH` rewrote and compressed the full list layout, so single-key `LPUSH` measured 64.6 req/s with the list growing to 50,000 elements.

The goal text did not allow these features to be simplified.

## Decisions {#decisions}

- Make an MVP release candidate the only current goal, with a frozen scope and a release list that completes in one or two hours ([MVP goal](/docs/redis/design/mvp-goal/)).
- Remove defensive tests from the release list: stability and endurance runs, instrumentation matrices, repeated benchmarks and root-cause batches for rare problems. A twelve-hour stability run was started and then stopped by the user; it counts neither as a pass nor as a failure.
- Turn the two fidelity features into settings that are off by default, and cache List lengths in schema `0.54`.
- Keep the per-database write lock for `v0.1.0` and document it. Per-key concurrency is the first deferred item.

## Outcome {#outcome}

`v0.1.0-rc1`: product version `0.1.0`, schema `0.54`, ABI `3`; packages built from `11411411d`, local tag on `2f8ee8d6a`. Measured on 2026-11-08 in a 4 CPU / 2 GiB container with `fdatasync` about 0.19 ms:

| Measurement | Before (`c25638e1b`) | After (`11411411d`) |
| --- | --- | --- |
| G5 `GET`, `synchronous_commit=on` | about 13,500 req/s, p50 about 3.1 ms | 29,833 req/s, p50 0.807 ms |
| G5 `SET`, `synchronous_commit=on` | about 8,200 req/s, p50 about 5.3 ms | 8,423 req/s, p50 5.215 ms |
| B1 `LPUSH`, one key to 50,000 elements, `on` | 64.6 req/s | 2,057 req/s |
| WAL written by one B1 run | about 3.1 GB | about 67 MB |
| WAL for 2,000 `GET` requests after warm-up | 391,976 bytes | 0 bytes |
{.wide}

The "before" G5 and B1 values were measured on the same host and container limits as the "after" values. The WAL-per-`GET` values come from local macOS builds of `c25638e1b` and `c6e2eb9d2`, the change that `11411411d` includes. The full release regression and known issues are on the [Status](/docs/redis/status/#verified) page.

---

Backlinks:

- [Design](/docs/redis/design/)
