Recorded store workloads

Measurements
you can inspect.

Sequential admission, a queued backlog and competing operation claims. Every measured repetition is retained with its machine details, retry counts and business invariants.

These are database workload measurements. They do not measure HTTP ingestion, signature verification, Stripe API capacity or external outbox delivery.

Retained measurements

Choose a recorded configuration.

Three measured repetitions per configuration. Warm-up results are shown separately.

PostgreSQL · 1 lane

Protocol passed · 3 measured repetitions

Raw result JSON ↗
1,000Unique events / run
10,000Admission attempts / run
3Measured repetitions
0Duplicate effects in measured runs
Measured throughput and failed attempts
RunAdmission attempts/sCommitted effects/sCallback retriesFailed worker attemptsExhausted retryable transactionsDuplicate effects
12,1181680000
22,0583781000
32,1693060000
Latency, resources and committed state
Latency per measured repetition · milliseconds
RunMeasurementp50 msp95 msp99 ms
1Admission0.410.690.93
1Worker iteration2.5020.0099.37
1Admission to commit6,590.847,427.847,515.18
2Admission0.400.670.82
2Worker iteration2.232.8311.74
2Admission to commit3,789.464,730.944,825.72
3Admission0.390.660.81
3Worker iteration2.222.9217.88
3Admission to commit4,294.134,728.424,801.84
Process resources and committed state
RunProcess CPU msPeak RSS MiBCompleted jobsEffectsOutbox intentsClaimants / owners / busy
12,511124.101,0001,0001,00020 / 1 / 19
22,127124.511,0001,0001,00020 / 1 / 19
32,163125.271,0001,0001,00020 / 1 / 19

Warm-up retained, excluded from rates: 100 unique events; 0 failed worker attempts; 0 exhausted retryable transactions; 0 callback retries. Final state: 100 jobs, 100 effects and 100 outbox intents; 0 duplicate effects.

Machine, source revision and protocol
Recorded
2026-10-06 10:14:21 UTC
Runtime
v22.23.3 · linux/x64
Database
17.11 (Debian 17.11-1.pgdg13+2)
CPU
AMD EPYC 9V45 96-Core Processor · 4 logical CPUs
Host RAM
15.61 GiB
Connections
4 workload + 1 schema-admin connections
Worker lanes
1 in one process
Location
GitHub-hosted Ubuntu runner; PostgreSQL service on the same runner

Closed-loop sequential admission; ten attempts/event; drain a pre-built backlog with same-process worker lanes and the production retry loop; nearest-rank percentiles. No HTTP, signature verification, Stripe calls or external outbox delivery. Peak RSS sampled every 10ms. Callback retries count repeated transaction callbacks, excluding failures before the callback starts. Recognized SQL conflicts may recover; failed attempts are counted and all business invariants must pass. Warm-up is retained but excluded from measured rates.

Tested source revision: b2c8f9ab9312f574bea5d697fd8c0251cb303404
Source SHA-256: 5840c2f2e99890a2acb213ea6ee756db335330caac347962b03e628705921af6

PostgreSQL · 4 lanes

Protocol passed · 3 measured repetitions

Raw result JSON ↗
1,000Unique events / run
10,000Admission attempts / run
3Measured repetitions
0Duplicate effects in measured runs
Measured throughput and failed attempts
RunAdmission attempts/sCommitted effects/sCallback retriesFailed worker attemptsExhausted retryable transactionsDuplicate effects
11,035277310000
21,057289287000
31,061283297000
Latency, resources and committed state
Latency per measured repetition · milliseconds
RunMeasurementp50 msp95 msp99 ms
1Admission0.911.321.51
1Worker iteration6.4145.4270.32
1Admission to commit6,558.119,312.359,599.13
2Admission0.891.281.42
2Worker iteration6.3440.4165.16
2Admission to commit6,425.239,189.379,416.84
3Admission0.901.291.41
3Worker iteration6.3742.4562.73
3Admission to commit6,549.439,146.579,385.27
Process resources and committed state
RunProcess CPU msPeak RSS MiBCompleted jobsEffectsOutbox intentsClaimants / owners / busy
16,519128.181,0001,0001,00020 / 1 / 19
26,087130.291,0001,0001,00020 / 1 / 19
36,083130.551,0001,0001,00020 / 1 / 19

Warm-up retained, excluded from rates: 100 unique events; 3 failed worker attempts; 3 exhausted retryable transactions; 82 callback retries. Final state: 100 jobs, 100 effects and 100 outbox intents; 0 duplicate effects.

Machine, source revision and protocol
Recorded
2026-10-06 10:15:25 UTC
Runtime
v22.23.3 · linux/x64
Database
17.11 (Debian 17.11-1.pgdg13+2)
CPU
AMD EPYC 7763 64-Core Processor · 4 logical CPUs
Host RAM
15.61 GiB
Connections
4 workload + 1 schema-admin connections
Worker lanes
4 in one process
Location
GitHub-hosted Ubuntu runner; PostgreSQL service on the same runner

Closed-loop sequential admission; ten attempts/event; drain a pre-built backlog with same-process worker lanes and the production retry loop; nearest-rank percentiles. No HTTP, signature verification, Stripe calls or external outbox delivery. Peak RSS sampled every 10ms. Callback retries count repeated transaction callbacks, excluding failures before the callback starts. Recognized SQL conflicts may recover; failed attempts are counted and all business invariants must pass. Warm-up is retained but excluded from measured rates.

Tested source revision: b2c8f9ab9312f574bea5d697fd8c0251cb303404
Source SHA-256: 5840c2f2e99890a2acb213ea6ee756db335330caac347962b03e628705921af6

PostgreSQL · 8 lanes

Protocol passed · 3 measured repetitions

Raw result JSON ↗
1,000Unique events / run
10,000Admission attempts / run
3Measured repetitions
0Duplicate effects in measured runs
Measured throughput and failed attempts
RunAdmission attempts/sCommitted effects/sCallback retriesFailed worker attemptsExhausted retryable transactionsDuplicate effects
1940212675000
2958218635000
3946211651000
Latency, resources and committed state
Latency per measured repetition · milliseconds
RunMeasurementp50 msp95 msp99 ms
1Admission0.981.491.76
1Worker iteration13.1684.71108.33
1Admission to commit7,628.9810,307.6610,584.00
2Admission0.971.461.69
2Worker iteration12.9778.42100.41
2Admission to commit7,540.8810,166.7810,402.17
3Admission0.971.461.73
3Worker iteration13.0181.41111.04
3Admission to commit7,649.3010,285.9110,528.05
Process resources and committed state
RunProcess CPU msPeak RSS MiBCompleted jobsEffectsOutbox intentsClaimants / owners / busy
18,322125.241,0001,0001,00020 / 1 / 19
27,893125.221,0001,0001,00020 / 1 / 19
37,945126.071,0001,0001,00020 / 1 / 19

Warm-up retained, excluded from rates: 100 unique events; 3 failed worker attempts; 3 exhausted retryable transactions; 175 callback retries. Final state: 100 jobs, 100 effects and 100 outbox intents; 0 duplicate effects.

Machine, source revision and protocol
Recorded
2026-10-06 10:16:45 UTC
Runtime
v22.23.3 · linux/x64
Database
17.11 (Debian 17.11-1.pgdg13+2)
CPU
AMD EPYC 7763 64-Core Processor · 4 logical CPUs
Host RAM
15.61 GiB
Connections
4 workload + 1 schema-admin connections
Worker lanes
8 in one process
Location
GitHub-hosted Ubuntu runner; PostgreSQL service on the same runner

Closed-loop sequential admission; ten attempts/event; drain a pre-built backlog with same-process worker lanes and the production retry loop; nearest-rank percentiles. No HTTP, signature verification, Stripe calls or external outbox delivery. Peak RSS sampled every 10ms. Callback retries count repeated transaction callbacks, excluding failures before the callback starts. Recognized SQL conflicts may recover; failed attempts are counted and all business invariants must pass. Warm-up is retained but excluded from measured rates.

Tested source revision: b2c8f9ab9312f574bea5d697fd8c0251cb303404
Source SHA-256: 5840c2f2e99890a2acb213ea6ee756db335330caac347962b03e628705921af6

SQLite · local baseline

Legacy baseline · 3 measured repetitions

Raw result JSON ↗
1,000Unique events / run
10,000Admission attempts / run
3Measured repetitions
0Duplicate effects in measured runs
Measured throughput and failed attempts
RunAdmission attempts/sCommitted effects/sCallback retriesFailed worker attemptsExhausted retryable transactionsDuplicate effects
14,767556Not recorded0Not recorded0
24,873556Not recorded0Not recorded0
34,916556Not recorded0Not recorded0
Latency, resources and committed state
Latency per measured repetition · milliseconds
RunMeasurementp50 msp95 msp99 ms
1Admission0.150.480.74
1Worker iteration6.7910.7712.12
1Admission to commit1,871.002,058.012,088.02
2Admission0.150.480.73
2Worker iteration6.8310.2811.71
2Admission to commit1,880.012,030.002,048.99
3Admission0.150.480.71
3Worker iteration6.7810.7512.07
3Admission to commit1,865.012,017.012,031.01
Process resources and committed state
RunProcess CPU msPeak RSS MiBCompleted jobsEffectsOutbox intentsClaimants / owners / busy
13,706100.681,0001,0001,00020 / 1 / 19
23,585106.551,0001,0001,00020 / 1 / 19
33,645104.771,0001,0001,00020 / 1 / 19

Legacy baseline: no warm-up observation or exhausted-transaction count was recorded. Four same-process worker lanes shared one SQLite connection; this does not establish support for multiple production workers. Other development work was running on the laptop.

Machine, source revision and protocol
Recorded
2026-10-03 12:43:13 UTC
Runtime
v22.20.0 · darwin/x64
Database
3.50.4
CPU
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz · 12 logical CPUs
Host RAM
16.00 GiB
Connections
1 SQLite connection
Worker lanes
4 in one process
Location
not specified

Closed-loop sequential admission; ten attempts/event; drain a pre-built backlog with same-process worker lanes; nearest-rank percentiles. No HTTP, signature verification, Stripe calls or external outbox delivery. Peak RSS sampled every 10ms.

Parent revision; modified source inputs were fingerprinted: 35f5e9f930675cefc3d55876e374975105e7f9c2
Source SHA-256: f7f74c84cc5c8cff0948218ac719033f74123ead968f01bfa4e95131f3c1a4de

Reading the numbers

The workload matters
as much as the rate.

1

Ten deliveries for each event

Admission runs sequentially in a closed loop. Attempts per second count repeated store calls, not unique payments.

2

Drain a prepared backlog

Worker lanes run in one process. Admission-to-commit latency includes the deliberate backlog; it is not a real-time payment SLA.

3

Keep each repetition

Percentiles use nearest rank. The tables show p50, p95 and p99 for each run, without averaging percentiles across runs.

4

Assert committed state

Each run checks one effect, one outbox intent and one completed job per unique event. Duplicate effects and failed attempts remain visible.

Failed attempts retained

The first PostgreSQL matrix
did not pass every configuration.

The original protocol rejected recovered warm-up transaction conflicts. The corrected protocol counts recognized conflicts and still requires every business invariant to pass. The adapter's retry budget was not changed.

Original PostgreSQL matrix · retained outcomes
LanesProtocol outcomeMeasured runsWarm-up failed worker attemptsWarm-up final jobs / effects / outboxReport
1Passed3Not recordedNot recordedOriginal JSON ↗
4Failed during warm-up02100 / 100 / 100Original JSON ↗
8Failed during warm-up04100 / 100 / 100Original JSON ↗

Reproduce the workload

Run it on your own hardware.

Use a repository checkout. Save the output JSON with your configuration rather than comparing unrelated machines as a capacity forecast.

Local SQLite

No database server required. The legacy baseline shared one SQLite connection.

npm ci
npm run benchmark

Disposable PostgreSQL

Set a private CHAOS_DATABASE_URL for a disposable test database. The harness creates its own schema.

BENCH_DATABASE=postgres \
BENCH_EVENTS=10000 \
BENCH_WORKERS=8 npm run benchmark