Jay Kreps created KAFKA-2950:
--------------------------------

             Summary: Performance regression in producer
                 Key: KAFKA-2950
                 URL: https://issues.apache.org/jira/browse/KAFKA-2950
             Project: Kafka
          Issue Type: Bug
            Reporter: Jay Kreps


For small messages the producer has gotten slower since the 0.8 release. E.g. 
for a single thread on linux sending 100 byte messages the decrease seems to be 
about 30%. The root cause seems to be that the new timeout we added for 
max.block.ms ends up doing about 4 more system calls to check the ellapsed time.

The reason for these calls is to detect slow serializers or partitioners. But I 
think this is not worth the performance hit. I think we can say the config is 
only for blocking due to metadata or memory allocation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to