Venkateswararao Jujjuri created BOOKKEEPER-864:
--------------------------------------------------

             Summary: 128 bit LedgerId
                 Key: BOOKKEEPER-864
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-864
             Project: Bookkeeper
          Issue Type: Improvement
            Reporter: Venkateswararao Jujjuri


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to