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

feat(bench): implement random message and batch size for iggy-bench #1585

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hubcio
Copy link
Contributor

@hubcio hubcio commented Feb 23, 2025

This commit introduces the ability to specify random message sizes
and batch sizes in the benchmarking tool.

The changes include:

  • Added support for specifying message size and batch size as either
    a single value or a range.
  • Updated the benchmarking logic to handle random sizes, ensuring
    that the tool can generate messages and batches with varying sizes.
  • Refactored the code to improve readability and maintainability,
    including the removal of unused code and the introduction of
    utility functions for common operations.
  • Enhanced the rate limiting mechanism to support byte-based limits,
    ensuring that the benchmarking tool can accurately simulate
    different network conditions.

@hubcio hubcio requested a review from a team as a code owner February 23, 2025 19:48
@hubcio hubcio force-pushed the bench-random branch 2 times, most recently from 5f6cc6d to 5e82d75 Compare February 23, 2025 19:49
@hubcio hubcio changed the title bench random feat(bench): implement random message and batch size for benchmarking Feb 23, 2025
@hubcio hubcio force-pushed the bench-random branch 3 times, most recently from 2baf685 to eb6137d Compare February 23, 2025 20:12
@hubcio hubcio changed the title feat(bench): implement random message and batch size for benchmarking feat(bench): implement random message and batch size for iggy-bench Feb 23, 2025
@hubcio hubcio force-pushed the bench-random branch 10 times, most recently from ce7294c to f4bc3ce Compare February 23, 2025 23:04
This commit introduces the ability to specify random message sizes
and batch sizes in the benchmarking tool.

The changes include:

- Added support for specifying message size and batch size as either
  a single value or a range.
- Updated the benchmarking logic to handle random sizes, ensuring
  that the tool can generate messages and batches with varying sizes.
- Refactored the code to improve readability and maintainability,
  including the removal of unused code and the introduction of
  utility functions for common operations.
- Enhanced the rate limiting mechanism to support byte-based limits,
  ensuring that the benchmarking tool can accurately simulate
  different network conditions.
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.

1 participant