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

improve transport performance with bufio #321

Merged
merged 5 commits into from
Oct 22, 2023
Merged

Conversation

x20080406
Copy link
Contributor

This code snippet can improve the network throughput for the subscriber.

@mochi-co mochi-co self-requested a review October 20, 2023 17:05
Copy link
Collaborator

@mochi-co mochi-co left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love anything which can increase throughput, however there are some significant test failures which need to be addressed before we can properly review and merge 🙂

@x20080406
Copy link
Contributor Author

I love anything which can increase throughput, however there are some significant test failures which need to be addressed before we can properly review and merge 🙂

Yes. I've fixed them. Root cause: the variable Conn in ClientConnection has been reset in server_test.go, but the bconn does not been reset.

@mochi-co
Copy link
Collaborator

Looks good to me, this will go out in the next release - thank you @x20080406 !

@mochi-co mochi-co merged commit 8e52e49 into mochi-mqtt:main Oct 22, 2023
3 checks passed
mochi-co added a commit that referenced this pull request Oct 24, 2023
mochi-co added a commit that referenced this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants