dragonfly/tools/local
Roman Gershman 6d30baa20b
chore: Pipelining fixes (#4994)
Fixes #4998.
1. Reduces agressive yielding when reading multiple requests since it humpers pipeline efficiency.
   Now we yield consistently based on cpu time spend since the last resume point (via flag with sane defaults).
2. Increases socket read buffer size effectively allowing processing more requests in bulk.

`./dragonfly  --cluster_mode=emulated`
latencies (usec) for pipeline sizes 80-199:
p50: 1887, p75: 2367, p90: 2897, p99: 6266

`./dragonfly  --cluster_mode=emulated --experimental_cluster_shard_by_slot`
latencies (usec) for pipeline sizes 80-199:
p50: 813, p75: 976, p90: 1216, p99: 3528

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2025-04-27 20:48:02 +03:00
..
monitoring chore: Pipelining fixes (#4994) 2025-04-27 20:48:02 +03:00
gen-test-certs.sh chore: update helio and improve our stack overflow resiliency (#4349) 2024-12-23 08:13:45 +00:00