2020-02-15 17:22:26 UTC - John Pradeep: Hi Guys, I have a quick question 
regarding bookkeeper - As I understand,
• various entries for different ledgers are aggregated & interleaved in a 
single `entry log` 
• a sperate index file is used for every ledger which has offsets to the entry 
log
I am just trying to understand the advantages of storing all ledger entries 
interleaved in the entry log file in contrast to having specific files for each 
ledger. it may be because flushing a single write ahead (entry log) file is 
efficient compared to flushing multiple files for each ledger, is that the only 
reason or are there any other advantages?
----
2020-02-15 17:50:25 UTC - Enrico Olivelli: Usually readers read from cache and 
not from disk, so having less files is better.
Btw in BK you have an option to create one file per ledger.
----
2020-02-15 18:44:46 UTC - John Pradeep: Thanks @Enrico Olivelli
----

Reply via email to