16-canister Reactor workload

Replica execution simulation, not a mainnet TPS prediction. No consensus/network simulation. 16 cells, seven definitions each, running the heavy mix; 1/15 root workflows await block notifications.

Implementation: cdk-rsx. Raw Wasm SHA-256: c3346bd1f09908392f59d76fb5b38f81473df6252c66237902320a44728ac328. Exact build identity is retained in the JSON manifest.

PocketIC: pocket-ic-server 16.1.0; DTS enabled; benchmarking instruction limits disabled; one application subnet. One tick = one execution round; rates below assume 600 ms per round. Includes both request and result batches.

Reactor instruction budget: 500000000; batch byte limit: 1900000; callback units: 40 (four reserved for control); workflow concurrency: 4096.

Ingress/s offered Batch items Processed endpoint messages Endpoint messages/s (whole run) Blocks/s (whole run) Endpoint messages/s (after warm-up, during arrivals) Blocks/s (after warm-up, during arrivals)
1000 1024 180000 6250.00 958.33 10216.94 1218.61

Completed Reactor router request/notification deliveries, counted by receivers. Excludes response/event frames, expired requests, deferred attempts, wire duplicates and physical batch envelopes.

A step is one completed graph-state visit, including control and terminal nodes. Parallel branches and child workflows count separately; retries remain attempts of the same visit. Engine counters exclude Reactor delivery, cleanup and scheduler bookkeeping.

Ingress/s offered Ingress total Batch items Completed steps Steps/s (whole run) Steps/s (during arrivals) Requests awaiting start at feed end Workflows pending at feed end Drain after arrivals (s) Rejected ingress
1000 18000 1024 594000 20625.00 25535.33 600 5550 10.8 0

Arrival-period rates include warm-up. Whole-run rates include the final drain. Workflow latency runs from engine admission to completion. For deferred ingress, the additional root latency below includes the durable request queue; neither includes waiting in the IC ingress queue. Latencies cover retained executions, with sample/total counts recorded in JSON.

Batch items Completed roots sampled Request-to-completion p50 (s) p95 (s) Maximum (s) Queue wait p50 (s) p95 (s)
1024 18000/18000 4.80 12.60 19.20 0.60 0.60

Each ingress still submits one request and returns one receipt ID. Reactor starts queued work later; receipt and execution IDs are distinct. Read-only receipt inspection occurs after the measured drain without advancing replica rounds.

Batch items Primary native instructions (B) Primary heap-page component (B) Tail native instructions Primary + tail instructions (B) Primary + tail heap-page component (B)
1024 107.755037 63.960640 2029918 107.757067 63.962320

Complete native tracing starts before the primary workload and stops after normal publication/maintenance. Setup and subsequent management inspection are excluded. Primary snapshots retain totals; only the final completed raw trace is archived. Query, inspect and composite-query callbacks are excluded from replicated totals. Error attempts remain counted and separately identified. Heap page charges are included in complete instructions, not additive. Aborted DTS attempts are not emitted; zero recorded errors does not establish their absence. These are finished replicated-entry totals, not a proof of all scheduler-billed instructions. Full capture is opt-in; the bounded round window is the default.

Roots Batch items Dispatches Rounds Cross-canister calls Messages (requests + acks) Calls saved vs one-item protocol Workflow/s (simulated)
18000 1024 27600 48 2434 4868 357566 666.67

Logical requests count selector requests, dispatch requests and child starts. Physical messages count cross-canister batch calls and their acknowledgements, including reverse result batches. Lower physical msg/s can accompany higher useful throughput because batching removes messages.

Roots Batch items Logical requests/s Physical IC msg/s Dispatches/s Cycles charged
18000 1024 6250.00 169.03 958.33 397201664892

The tables above preserve the primary workload boundary. The separate tail below uses ordinary 600 ms ticks until all committed blocks are certified and scheduled app/transport/region maintenance is quiet. It makes no forced collector or publication calls. Subthreshold region debt is retained in JSON.

Batch items Tail completed Extra rounds Extra cycles Extra complete-entry instructions Primary + tail rounds Primary + tail cycles Primary + tail complete-entry instructions
1024 true 1 19380836 unavailable 49 397221045728 unavailable
Roots Batch items Total allocated Wasm before (MiB) Total allocated Wasm after tail (MiB) Total stable after tail (MiB)
18000 1024 257.00 257.00 0.00

The final management memory snapshot is sampled after the measured maintenance tail. Management inspection can execute further replica rounds, outside both timed intervals. These are logical allocation totals across canisters, including any runtime address reservation, not live payload or resident RAM.

The weighted root mix is recorded in the manifest; child executions are included in Workflow/s. Setup/queries, management calls, self async launchers and timers are excluded from cross-canister calls. Source, binary hashes, counters and per-round samples are in the JSON beside this report.

This uses fixed-rate arrivals followed by a drain; growing backlog means the offered rate is not sustainable. PocketIC does not model consensus, network latency, competing canisters or production hardware. Mainnet load validation is still required.