You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2014/03/31 01:41:14 UTC

[jira] [Created] (KAFKA-1351) String.format is very expensive in Scala

Neha Narkhede created KAFKA-1351:
------------------------------------

             Summary: String.format is very expensive in Scala
                 Key: KAFKA-1351
                 URL: https://issues.apache.org/jira/browse/KAFKA-1351
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 0.8.0, 0.7.2, 0.8.1
            Reporter: Neha Narkhede


As found in KAFKA-1350, logging is causing significant overhead in the performance of a Kafka server. There are several info statements that use String.format which is particularly expensive. We should investigate adding our own version of String.format that merely uses string concatenation under the covers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)