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

Provide separate read and write threads in the bookkeeper server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.3.0
    • bookkeeper-server
    • 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. 0001-BOOKKEEPER-429-Provide-separate-read-and-write-threa.patch
          52 kB
          Ivan Kelly
        2. 0001-BOOKKEEPER-429-Provide-separate-read-and-write-threa.patch
          53 kB
          Ivan Kelly
        3. BK-429.patch
          109 kB
          Aniruddha
        4. BOOKKEEPER-429.diff
          52 kB
          Sijie Guo
        5. BOOKKEEPER-429.diff
          50 kB
          Sijie Guo
        6. BOOKKEEPER-429.diff
          50 kB
          Sijie Guo

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: