iggy-rs / iggy

Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second.
https://iggy.rs
MIT License
1.82k stars 86 forks source link

Improve `--message-size` argument in iggy bench: allow random message size from range. #227

Open hubcio opened 10 months ago

hubcio commented 10 months ago

Use same format as rust range syntax.

seroze commented 4 months ago

@hubcio

--message-size 100..500

this would create benchmark message payloads of size between 100 to 500 randomly is that the intention ?

hubcio commented 4 months ago

@hubcio

--message-size 100..500

this would create benchmark message payloads of size between 100 to 500 randomly is that the intention ?

yes!