From dcc58b395224ec8058f66d7ef7f4905e38436618 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 5 Jul 2026 11:37:50 +0300 Subject: [PATCH] docs: align README idle-latency figure to docs (~10ms) The docs (introduction/how-it-works) state idle dispatch drops to ~10ms via LISTEN/NOTIFY; README said the looser 'sub-100ms'. Match the tighter figure. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01fc7ee..0bab51f 100644 --- a/README.md +++ b/README.md @@ -99,13 +99,13 @@ A subscriber owns two async loops: a **fetch** loop claims available rows via a The `acquired_token` is the load-bearing invariant: a slow handler whose lease expired and was re-claimed by another worker finds its terminal `DELETE` to be a no-op (the token no longer matches), preventing it from clobbering the new lease holder. -With the `asyncpg` driver, the fetch loop also `LISTEN`s on `outbox_` and `publish` emits `pg_notify(...)`, so idle dispatch latency is sub-100ms instead of up to `max_fetch_interval`. +With the `asyncpg` driver, the fetch loop also `LISTEN`s on `outbox_
` and `publish` emits `pg_notify(...)`, so idle dispatch latency is ~10ms instead of up to `max_fetch_interval`. See [How it works](https://faststream-outbox.modern-python.org/introduction/how-it-works/) for the full architecture. ## Optional extras -- `faststream-outbox[asyncpg]` — asyncpg driver (enables `LISTEN/NOTIFY` for sub-100ms idle dispatch) +- `faststream-outbox[asyncpg]` — asyncpg driver (enables `LISTEN/NOTIFY` for ~10ms idle dispatch) - `faststream-outbox[fastapi]` — FastAPI integration via `OutboxRouter` - `faststream-outbox[validate]` — Alembic for `broker.validate_schema()` - `faststream-outbox[prometheus]` — Prometheus metrics adapter