Skip to content

feat: add MQTT benchmarking tool with io_uring support#100

Draft
qzhuyan wants to merge 2 commits into
mainfrom
feat/example/io-uring-bench
Draft

feat: add MQTT benchmarking tool with io_uring support#100
qzhuyan wants to merge 2 commits into
mainfrom
feat/example/io-uring-bench

Conversation

@qzhuyan
Copy link
Copy Markdown
Collaborator

@qzhuyan qzhuyan commented May 22, 2026

  • Implemented a new benchmarking tool for MQTT using io_uring for efficient asynchronous I/O operations.
  • Introduced worker threads for handling TCP and QUIC connections, with support for configurable client and message parameters.
  • Added statistics tracking for sent messages, acknowledgments, errors, and connection states.
  • Enhanced the MQTT client options to allow customization of the internal parser buffer size.
  • Updated the MQTT engine to utilize the configurable parser buffer size for improved performance in high-connection scenarios.

- Implemented a new benchmarking tool for MQTT using io_uring for efficient asynchronous I/O operations.
- Introduced worker threads for handling TCP and QUIC connections, with support for configurable client and message parameters.
- Added statistics tracking for sent messages, acknowledgments, errors, and connection states.
- Enhanced the MQTT client options to allow customization of the internal parser buffer size.
- Updated the MQTT engine to utilize the configurable parser buffer size for improved performance in high-connection scenarios.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 22, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.83%. Comparing base (8e7bd2d) to head (c033a75).

Files with missing lines Patch % Lines
src/mqtt_client/opts.rs 20.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
- Coverage   76.90%   76.83%   -0.07%     
==========================================
  Files          66       66              
  Lines       17100    17105       +5     
==========================================
- Hits        13150    13142       -8     
- Misses       3950     3963      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants