reddycharan commented on issue #570: Multiple active entrylogs
URL: https://github.com/apache/bookkeeper/issues/570#issuecomment-368185000
 
 
   For this work item, there are two possible approaches
   
   1) is to have configurable number of active entrylogs per ledgerdir
   2) active entrylog per ledger
   
   For the first approach I mentioned the design overview earlier. But we 
decided to go with the second approach for the following reasons
   
   There are couple of major benefits by going with entrylogperledger. The 
implementation would become simpler, because it is a complex logic to handle 
and maintain slotmap in configured number of Entrylogs per LedgerDir 
design/implementation and it needs to be thoroughly analyzed/tested from 
multi-thread perspective. But most importantly the garbagecollection component 
becomes much simpler because there is no need of compaction in entrylog per 
ledger approach. So there is huge gain in indirect performance because of 
absence of IO activity for compaction and huge improvement in space reclamation 
during compaction.
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to