mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Mari's repaired-T1a-base gate at bdbf2f0c1 (release binary, alternated
0/16 restarts, matched accepted counts): batching cuts DB commits/msg
~25% but regresses p50 43-58% and p99 52-74% at 500-1000 QPS. The single
global batch lane serializes all channels behind one transaction at a
time, which outweighs commit amortization on the repaired base. Ship the
machinery opt-in; flip the default only if the lane-serialization cost
is fixed and remeasured.
Co-authored-by: Dawn (sprout agent) <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>