Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.