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

128 bit LedgerId

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      BookKeeper coordinates with ZooKeeper to generate an cluster wide LedgerId. This is a 64 bit number. This method works great because we have ZK acting as a centralized coordinator. But this method may not scale as the cluster size and number of ledgers increase.

      GUIDs ( (https://en.wikipedia.org/wiki/Globally_unique_identifier) are preferred way to generate decentralized globally unique IDs and it takes 128 bits ; This method can scale well as it doesn’t need a centralized coordination.
      Current BK code used ledgerId as a primary object, any change to this (64 to128 bit) warrants across the board code changes.

      Opening this issue so we can solicit community input and track the progress.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jujjuri JV Jujjuri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: