Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
0.9.0.1
-
None
-
None
-
None
Description
Currently the ProducerPerformance always generate the payload with same bytes. This does not quite well to test the compressed data because the payload is extremely compressible no matter how big the payload is.
We can make some changes to make it more useful for compressed messages. Currently I am generating the payload containing integer from a given range. By adjusting the range of the integers, we can get different compression ratios.
API wise, we can either let user to specify the integer range or the expected compression ratio (we will do some probing to get the corresponding range for the users)
Besides that, in many cases, it is useful to have multiple producer threads when the producer threads themselves are bottleneck. Admittedly people can run multiple ProducerPerformance to achieve similar result, but it is still different from the real case when people actually use the producer.
Attachments
Issue Links
- duplicates
-
KAFKA-2499 kafka-producer-perf-test should use something more realistic than empty byte arrays
- Resolved
- relates to
-
KAFKA-3677 Add a producer performance tuning tool
- Open
- links to