Synthetic fixtures computed locally. No model or production service is contacted.
Experiment workspace
Decision trace
The question this experiment answers
Hansini copies changed help-desk cases from PostgreSQL to the warehouse at Belgavi's Book Store by asking for rows whose updated_at is newer than a saved watermark. When a transaction stamps a row early and commits late, does the extract ever see it? Edit a timeline of changes, each with a start time, the updated_at it wrote and a commit time, then compare four strategies: a naive watermark, a lookback window, a watermark held below the oldest open transaction, and commit-order delivery as logical decoding provides.
Change one assumption at a time
Start from a preset and change one control. In late_commit_naive switch the strategy to capped or commit_order and change A is delivered. In late_commit_lookback_short raise the lookback from 30 to 31 and it is caught. In idle_transaction_capped switch to commit_order and the repeated reads disappear. In app_clock_stamp_capped change A's stamp from 20 to 50 and the cap works again. Change lines look like A 10 10 75: id, start, updated_at, commit, in seconds.
Expected outcomes
late_commit_naive: change A is never delivered and the watermark ends at 40. late_commit_lookback_short: still missed, because 40 - 30 = 10 and the test is strictly greater. late_commit_lookback_long: delivered with 7 repeated reads. late_commit_capped: delivered with 1 repeated read. late_commit_commit_order: both delivered exactly once. idle_transaction_capped: everything delivered but 28 repeated reads while IDLE stays open. app_clock_stamp_capped: change A is missed because its stamp predates its own transaction. short_transactions_naive: every strategy works.
Read the table and the trace
The metrics show how many changes were delivered, how many committed changes were never delivered, repeated reads, total rows read, the worst delay from commit to delivery and the final watermark. The table lists each change with its times, when it was first delivered, its delay and how often it was read. The trace lists every extract: what it read, what was new, what was read again, which transactions were open and the watermark it saved.
Reset and export
Reset inputs restores the selected preset and recomputes. Export JSON downloads the inputs, every change, the metrics, the trace and the stated limits.
Limits
A rule model in whole seconds with one row per change, no deletes, no ties and a single database clock. The capped strategy assumes updated_at comes from the database inside the transaction. The companion probe reproduced the core case on PostgreSQL 18.4; the other presets are model results, not measurements.