Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1351

String.format is very expensive in Scala

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.7.2, 0.8.0, 0.8.1
    • None
    • core

    Description

      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.

      Attachments

        1. KAFKA-1351.patch
          69 kB
          Ivan Lyutov
        2. KAFKA-1351_2014-04-09_15:40:11.patch
          290 kB
          Ivan Lyutov
        3. KAFKA-1351_2014-04-07_18:02:18.patch
          2 kB
          Ivan Lyutov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nehanarkhede Neha Narkhede
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: