Define interface between bookie and ledger storage
--------------------------------------------------

                 Key: BOOKKEEPER-196
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-196
             Project: Bookkeeper
          Issue Type: Improvement
            Reporter: Ivan Kelly
            Assignee: Ivan Kelly
             Fix For: 4.1.0


EntryLogger and LedgerCache are both part of a very interdependent storage 
mechanism where entries are interleaved in a single log(EntryLogger) and index 
files are maintained (LedgerCache). I'd like to experiment with some other 
schemes (Im not convinced the interleaving is required for high performance). 
ZOOKEEPER-507 brought in these changes, but it also brought in a lot of other 
stuff, and I think its the other stuff (specifically taking the writing to 
separate files out of the critical path) which gave us the performance boost. 
To do this cleanly, we need a well defined storage interface for this. This 
JIRA is to provide this. Future work can move the interleaved implementation 
into another package as org.apache.bookkeeper.bookie is getting a little 
crowded now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to