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

Use HashedwheelTimer for request timeouts for PCBC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • bookkeeper-client
    • None

    Description

      Current scheduler based timeout mechanism is per batch, which isn't efficient. HashedWheelTimer is much better for timeouts. So change the PCBC to use HashedWheelTimer for timeouts.

      Besides that HashedWheelTimer change, it also provides multiple channel per bookie support for latency consideration.

      Attachments

        1. BOOKKEEPER-756.diff
          50 kB
          Sijie Guo
        2. BOOKKEEPER-756.v2.diff
          53 kB
          Sijie Guo

        Activity

          People

            hustlmsp Sijie Guo
            hustlmsp Sijie Guo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: