Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inefficient use of buffers that reduces the potential throughput of basicPublish #142

Merged
merged 2 commits into from
Dec 21, 2022

Commits on Dec 19, 2022

  1. Improve performance of Channel sendOpen method by adding an sendUnflu…

    …shed method to Connection that allows us to use the write buffer more efficiently by writing all the Frames of the message and *then* flushing the buffer rather than flushing each Frame. This significantly improves the performance of basicPublish for small messages where the bulk of the CPU load tends towards Syscall so with small messages we might have a Syscall per message vice per Frame.
    fadams committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    c21c1d2 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Update comments in connection module

    Signed-off-by: Aitor Pérez Cedres <acedres@vmware.com>
    Zerpet committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    5b591bb View commit details
    Browse the repository at this point in the history