aboutsummaryrefslogtreecommitdiffstats
path: root/docs/design
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-30 07:06:52 +0100
committereunhhu <[email protected]>2026-09-30 07:06:52 +0100
commit123966fa4a7f65df311960a5d8a42a92ae432408 (patch)
tree68dd65910df21bc7f3e4b9e0f7eb12c6686cdac0 /docs/design
parentc3b135a801a02d64cc75da126e3629964d005a9d (diff)
downloadpure-123966fa4a7f65df311960a5d8a42a92ae432408.tar.gz
pure-123966fa4a7f65df311960a5d8a42a92ae432408.zip
Let TPC-C's SQLite commit in groups as pure-serve does, and say what each run costs
The terminals hand their writing transactions to one writer, which runs those waiting in one transaction, each in a savepoint, and commits them with one sync; reads stay on the terminals' connections, as pure-serve shows views from the last save. An undone New-Order is rolled back by its caller now (it rolled back the whole group before, and counted as failed after the split). Each run reports its CPU a transaction, the owner thread's share of a core, its memory, and the bytes a transaction had written, by the process and to the device. SQLite runs with its database mapped, a 64 MiB cache and savepoint journals in memory unless told otherwise.
Diffstat (limited to 'docs/design')
0 files changed, 0 insertions, 0 deletions