Skip to content

feat: draft the post eventual consistency cannot prove you forgot someone - #47

Merged
benatespina merged 1 commit into
mainfrom
docs/post-eventual-consistency-erasure-log
Dec 1, 2026
Merged

benatespina merged 1 commit into
mainfrom
docs/post-eventual-consistency-erasure-log

Conversation

@benatespina

@benatespina benatespina commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • A kind: engineering post, draft: true, slug eventual-consistency-erasure-log, dated 2026-12-01 as a placeholder. Merging it publishes nothing: drafts are left out of the build.
  • For anyone who keeps an erasure or audit log on eventually consistent storage. The story: Bounda's forget ledger lived in Workers KV first, and the keeper Durable Object came later, for jurisdiction. Raising the bar showed that the KV ledger rested on a minute nobody promised (KV_LIST_DELAY_MS). No design that uses only KV can tell "not visible yet" from "not there". The keeper can, because its landing order and its fence are checked in the write's own transaction.
  • How this fits event sourcing: a stale read is fine for a decision as long as something consistent checks that decision again (the read model informs, the aggregate guarantees). The ledger's "nobody left to forget again" has nothing behind it.
  • What it costs (availability depends on the ledger), and where the same hole appears outside Cloudflare (PostgreSQL replicas, DynamoDB's default reads, S3 cross-region replication).
  • Ends on the forget demo scene, npm create bounda and the personal data guide. No PR links or internal piece names in the text.
  • Translations in es (reviewed and approved by the author), ja and pt-br. Code blocks are byte-identical across all four. Seven new terms in GLOSSARY.md.

How it was verified (2026-12-01)

  • Bounda facts checked against bounda-dev/bounda main (a921e022) and the removal in fix: remove the forget ledger in Workers KV, which no reconciliation could read through (R1k-b) bounda#373 (merged):
    • KV_LIST_DELAY_MS = 60_000.
    • The keeper's ledger (createSqlForgetLedger over the object's SQLite) reserves the landing and checks the fence inside the write's transaction, with no visibilityDelayMs.
    • FORGET_LEDGER_UNAVAILABLE and FORGET_LEDGER_UNRECONCILED.
    • The template config, imports included.
  • Cloudflare, AWS (DynamoDB read consistency, S3 consistency and replication) and PostgreSQL (warm standby) docs read on 2026-12-01. Two short quotes from Cloudflare; the rest is paraphrased and linked.
  • Two back-translation rounds of ja and pt-br, with the fixes applied.
  • pnpm build and pnpm check pass. All four versions render in pnpm dev, with hreflang to every version.

Before publishing

  • Set the real date.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
bounda-website 992f3a8 Dec 01 2026, 04:43 PM

…eone

Why Bounda removed its Workers KV forget ledger and kept the keeper
Durable Object as the only Cloudflare ledger: an acknowledged KV key no
reader sees yet cannot be told apart from no key, on every KV read path.
Where event sourcing already draws the same line (a stale read is fine
while something consistent checks the decision again), what the keeper
costs, and where the same hole appears outside Cloudflare.

Translated to Spanish (reviewed by the author), Japanese and Brazilian
Portuguese, with the new terms added to the glossary. Still a draft.
@benatespina
benatespina force-pushed the docs/post-eventual-consistency-erasure-log branch from 5f99d74 to 992f3a8 Compare December 1, 2026 16:42
@benatespina
benatespina merged commit 52d74f1 into main Dec 1, 2026
3 checks passed
@benatespina
benatespina deleted the docs/post-eventual-consistency-erasure-log branch December 1, 2026 16:49
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