mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-20 23:12:27 +00:00
feae5757c4
Previous work had the receiver try to receive multiple messages in bulk. This does the same for the sender. We walk the send queue and initialize a vector that we then send with one call. This is intentionally similar to the single message sending pattern to avoid unintended changes. Along with the changes to recieve in bulk this ended up increasing the message processing rate by about 6x when both send and receive were going full throttle. Signed-off-by: Zach Brown <zab@versity.com>