pds_store::Wal::wait syncs as soon as one commit waits; a commit that arrives while a sync is under way waits for the next, so of writers that never pause about half share each sync. The store benchmark's row "a sync first letting the commits begun be written" waits, for at most a millisecond, while any writer is between beginning a commit and having written it, and then syncs: on the benchmark's own log, on a Mac, 572 against 451 to 481 commits a second at 4 writers, 2901 against 1833 to 1973 at 16, 8569 against 5366 to 7452 at 64. RocksDB and fjall gain as much from the same wait.
On the runner (Linux) it was 311 against 149 to 262 at 4 writers and 1551 against 646 to 872 at 16, level at 64, and ahead at 256 (12321 against 8289).
It is worth nothing to a log one account writes to, which is every log the server has but the service's: so it waits on a reason to have one log for many (the firehose read from the log, say).
pds_store::Wal::waitsyncs as soon as one commit waits; a commit that arrives while a sync is under way waits for the next, so of writers that never pause about half share each sync. The store benchmark's row "a sync first letting the commits begun be written" waits, for at most a millisecond, while any writer is between beginning a commit and having written it, and then syncs: on the benchmark's own log, on a Mac, 572 against 451 to 481 commits a second at 4 writers, 2901 against 1833 to 1973 at 16, 8569 against 5366 to 7452 at 64. RocksDB and fjall gain as much from the same wait.On the runner (Linux) it was 311 against 149 to 262 at 4 writers and 1551 against 646 to 872 at 16, level at 64, and ahead at 256 (12321 against 8289).
It is worth nothing to a log one account writes to, which is every log the server has but the service's: so it waits on a reason to have one log for many (the firehose read from the log, say).