pravega / pravega-benchmark

Performance benchmark tool for Pravega
Apache License 2.0
8 stars 22 forks source link

Add Support For Writing X Amount of Event Data #90

Closed maddisondavid closed 4 years ago

maddisondavid commented 4 years ago

For some tests we require a certain amount of event data to have been written to the stream. Currently the only way to control the duration of the test is using the -time option.

Proposal Add a new -writemb <number> option that indicates how much event data in MB should be written before the test ends. This would be mutually exclusive to the -time parameter and if both specified the tool should error informing the user.

maddisondavid commented 4 years ago

Thinking about this, this can actually be simulated with the -events option and the -size options. By controlling both of those, the amount of data written to the stream can be controlled.