aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/005-direct-document-peer
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-01 08:52:43 +0100
committereunhhu <[email protected]>2026-10-01 08:52:43 +0100
commit94e7bb87bce6821e91734f1fcbb6cfd61a008049 (patch)
tree6eb3f11da43583a3a3e4a13e360005ab5340920f /research/experiments/005-direct-document-peer
parent99b221927c6feb595b7758ae9bf8370054028fae (diff)
downloadpure-94e7bb87bce6821e91734f1fcbb6cfd61a008049.tar.gz
pure-94e7bb87bce6821e91734f1fcbb6cfd61a008049.zip
Push a turn's sends to a link at once, and round only the links that want one (017, 2b-1)
The sending loop was woken by every record queued while it slept: the owner queues one by one, the loop caught up and slept between them, and every link took a round on every wake. Four links sent 64k packets of 12 records where threads sent 40k of 20, and ran at 257k sends/s against 581k. The owner now queues a turn's sends and pushes each link once; the loop rounds a link only when its socket has answers, it was pushed, or its time came.
Diffstat (limited to 'research/experiments/005-direct-document-peer')
0 files changed, 0 insertions, 0 deletions