[
https://issues.apache.org/jira/browse/KAFKA-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13926296#comment-13926296
]
Guozhang Wang edited comment on KAFKA-1253 at 3/10/14 10:01 PM:
----------------------------------------------------------------
Some interesting performance numbers (1000 messages, 1K message size, ack=1):
new-producer-performance
old-producer-performance-new-producer
old-producer-performance-old-producer
none 4329.00
3246.7532
2183.4061
gzip 3134.80
1620.7455
1754.3860
snappy 3731.34
2247.1910
1890.3592
The difference between the old and new producer performance is that for the old
producer performance, each message creates a new byte array, while for the new
one the same byte array is reused for all messages.
was (Author: guozhang):
Some interesting performance numbers (1000 messages, 1K message size, ack=1):
new-producer-performance
old-producer-performance-new-producer
old-producer-performance-old-producer
none 4329.00
3246.7532
2183.4061
gzip 3134.80
1620.7455
1754.3860
snappy 3731.34
2247.1910
1890.3592
> Implement compression in new producer
> -------------------------------------
>
> Key: KAFKA-1253
> URL: https://issues.apache.org/jira/browse/KAFKA-1253
> Project: Kafka
> Issue Type: Sub-task
> Components: producer
> Reporter: Jay Kreps
> Assignee: Guozhang Wang
> Attachments: KAFKA-1253.patch, KAFKA-1253_2014-02-21_16:15:21.patch,
> KAFKA-1253_2014-02-21_17:55:52.patch, KAFKA-1253_2014-02-24_13:31:50.patch,
> KAFKA-1253_2014-02-26_17:31:30.patch, KAFKA-1253_2014-03-06_17:48:11.patch,
> KAFKA-1253_2014-03-07_16:34:33.patch, KAFKA-1253_2014-03-10_14:35:56.patch,
> KAFKA-1253_2014-03-10_14:39:58.patch, compression-fix.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)