aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/live-rules/runtime.mjs
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 07:37:38 +0100
committereunhhu <[email protected]>2026-09-27 07:37:38 +0100
commit9b5f7629fdf87bcbaade4b9baa349cddc631c63f (patch)
tree74a1953e3e87f73db6611ff010ffe5f17b0ee78a /prototypes/live-rules/runtime.mjs
parentb2bb46d4dd2526ce6aeccec2be5d61e06017b87e (diff)
downloadpure-9b5f7629fdf87bcbaade4b9baa349cddc631c63f.tar.gz
pure-9b5f7629fdf87bcbaade4b9baa349cddc631c63f.zip
Gather after a save until a just-answered client has come back
After a round that saved, the owner waited for 100 us without a new request (1 ms at most) before the next round. Requests that queued up during the save made that quiet start at once, so the clients just answered missed the next round; the clients then settled into two halves taking turns, each save carrying half of them. It showed with two connection threads: 34 events a round and 15.8-16.0k posts/s with 64 connections, against about 61 and 22-24k/s with one or three. The quiet now counts only once a request has come after the answers were handed back: two threads carry 61.6 events a round, 22.9-23.9k/s.
Diffstat (limited to 'prototypes/live-rules/runtime.mjs')
0 files changed, 0 insertions, 0 deletions