Kafka
  1. Kafka
  2. KAFKA-191

Investigate removing the synchronization in Log.flush

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Neha Narkhede
            Reporter:
            Jay Kreps
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development