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

Use HashedwheelTimer for request timeouts for PCBC

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: bookkeeper-client
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: