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

Investigate removing the synchronization in Log.flush

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • None
    • core
    • None

    Description

      Currently we have the following synchronization in Log.scala:
      1. append, roll, and flush all share a write lock
      2. read is non-blocking

      Unfortunately this means that flush time latency is added to appends (even if the flush is done by a background thread). To fix this we should investigate a scheme to make append and flush not block each other.

      Attachments

        1. KAFKA-191.patch
          1 kB
          Jay Kreps

        Activity

          People

            nehanarkhede Neha Narkhede
            jkreps Jay Kreps
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: