Skip to content

feat: add MQTT benchmarking tool with io_uring support#100

Merged
qzhuyan merged 5 commits into
mainfrom
feat/example/io-uring-bench
Jun 3, 2026
Merged

feat: add MQTT benchmarking tool with io_uring support#100
qzhuyan merged 5 commits into
mainfrom
feat/example/io-uring-bench

Conversation

@qzhuyan

@qzhuyan qzhuyan commented May 22, 2026

Copy link
Copy Markdown
Collaborator
  • 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

codecov-commenter commented May 22, 2026

Copy link
Copy Markdown

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 (f5d88bf).
⚠️ Report is 1 commits behind head on main.

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    13143       -7     
- Misses       3950     3962      +12     

☔ 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.

@qzhuyan qzhuyan marked this pull request as ready for review June 3, 2026 09:14
@qzhuyan qzhuyan merged commit e7475db into main Jun 3, 2026
28 checks passed
@qzhuyan qzhuyan deleted the feat/example/io-uring-bench branch June 4, 2026 09:13
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