Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-429

Provide separate read and write threads in the bookkeeper server

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: bookkeeper-server
    • Labels:
      None

      Description

      The current bookkeeper server is single threaded. The same thread handles reads and writes. When reads are slow (possibly because of excessive seeks), add entry operations suffer in terms of latencies. Providing separate read and write threads helps in reducing add entry latencies and increasing throughput even when we're facing slow reads. Having a single read thread also results in low disk utilization because seeks can't be ordered efficiently by the OS. Multiple read threads would help in improving the read throughput.

      Discussion on this can be found at http://mail-archives.apache.org/mod_mbox/zookeeper-bookkeeper-dev/201209.mbox/%3cCAOLhyDQpzn-v10zyNFwUd_h0qzRxtmJgTTx7a9eoFoHYytyJbA@mail.gmail.com%3e

      Reviewboard : https://reviews.apache.org/r/7560/

        Attachments

        1. BK-429.patch
          109 kB
          Aniruddha
        2. BOOKKEEPER-429.diff
          50 kB
          Sijie Guo
        3. BOOKKEEPER-429.diff
          50 kB
          Sijie Guo
        4. 0001-BOOKKEEPER-429-Provide-separate-read-and-write-threa.patch
          53 kB
          Ivan Kelly
        5. BOOKKEEPER-429.diff
          52 kB
          Sijie Guo
        6. 0001-BOOKKEEPER-429-Provide-separate-read-and-write-threa.patch
          52 kB
          Ivan Kelly

          Issue Links

            Activity

              People

              • Assignee:
                i0exception Aniruddha
                Reporter:
                i0exception Aniruddha
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: