Skip to content

docs: delivery guarantees, failures and schema changes - #92

Merged
danfimov merged 4 commits into
mainfrom
docs/delivery-guarantees
Nov 25, 2026
Merged

danfimov merged 4 commits into
mainfrom
docs/delivery-guarantees

Conversation

@danfimov

@danfimov danfimov commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Adds a new "Delivery and Failures" tutorial page covering:

  • how NOTIFY and polling deliver messages;
  • reconnection and keepalive;
  • at-most-once vs at-least-once delivery with processing_timeout;
  • the new parameters;
  • automatic schema changes and how to prepare them in advance (including CREATE INDEX CONCURRENTLY);
  • known driver limitations.

The broker schema in Common Issues was outdated (taskiq_queue, UUID, BYTEA). It now matches the real table, with the new columns, the indexes, and the privileges a non-owner role needs.

Checked with zensical build. Note: building with only the docs dependency group fails with "Could not collect 'taskiq_pg'" on main as well; with the project installed it builds.

Part of a stack; review and merge bottom-up. Stress-harness numbers are from a local run: 4 drivers, ~250–550 kicks per scenario, 2 worker processes per driver.

Review follow-ups:

  • docs: an acknowledgement of an expired claim is ignored.

  • docs: the psqlpy rolling-upgrade warning belongs in the release notes, not in the docs.

@danfimov
danfimov added this pull request to stack #93 November 25, 2026 19:38
@danfimov
danfimov force-pushed the docs/delivery-guarantees branch 4 times, most recently from 4a16182 to c05c661 Compare November 25, 2026 22:26
@danfimov
danfimov force-pushed the docs/delivery-guarantees branch 5 times, most recently from bbdd1f9 to df10fb7 Compare November 25, 2026 22:40
Base automatically changed from fix/shutdown-after-failed-startup to main November 25, 2026 22:40
New 'Delivery and Failures' page: how NOTIFY and polling deliver messages,
reconnection and keepalive, at-most-once vs at-least-once with
processing_timeout, the new parameters, automatic schema changes and how to
prepare them in advance, the psqlpy rolling-upgrade caveat and known driver
limitations.

The broker schema in Common Issues was outdated (taskiq_queue, UUID, BYTEA);
it now matches the real table, with the new columns and indexes and the
privileges a non-owner role needs.
@danfimov
danfimov force-pushed the docs/delivery-guarantees branch from df10fb7 to 841a570 Compare November 25, 2026 22:40
@danfimov danfimov self-assigned this Nov 25, 2026
@danfimov
danfimov merged commit 840e7c5 into main Nov 25, 2026
12 checks passed
@danfimov
danfimov deleted the docs/delivery-guarantees branch November 25, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant