solana/quic-client
mergify[bot] 4f8cf99e8e
v2.0: Fix broken parallelism in quic-client (backport of #2526) (#3709)
Fix broken parallelism in quic-client (#2526)

* Fix broken parallelism in quic-client

Fixes excessive fragmentation by TPU clients leading to a large
number of streams per conn in 'sending' state simultaneously.
This, in turn, requires excessive in-memory buffering server-side
to reassemble fragmented transactions.

- Simplifies QuicClient::send_batch to enqueue send operations
  in sequential order
- Removes the "max_parallel_streams" config option

The quic-client now produces an ordered fragment stream when
scheduling send operations from a single-thread.

* quic-client: remove outdated test

---------

Co-authored-by: Richard Patel <ripatel@jumptrading.com>
Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
(cherry picked from commit 76cbf1a91c)

Co-authored-by: ripatel-fd <ripatel+git@jumptrading.com>
2024-11-21 12:46:14 +11:00
..
src v2.0: Fix broken parallelism in quic-client (backport of #2526) (#3709) 2024-11-21 12:46:14 +11:00
tests Connection rate limiting (#948) 2024-05-14 17:33:43 -07:00
Cargo.toml don't sign X.509 certs (#34896) 2024-01-28 16:17:46 -08:00