bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sijie Guo <guosi...@gmail.com>
Subject Re: InterleavedLedgerStorage vs SortedLedgerStorage
Date Wed, 19 Jul 2017 09:58:34 GMT
On Wed, Jul 19, 2017 at 5:23 PM, Enrico Olivelli <eolivelli@gmail.com>
wrote:

> Can you please  tell me  major benefits of Interleaved over Sorted? The
> default is sorted
> I can dig in code anyway
>

Sorted is in general better than Interleaved - not relying on filesystem
page cache for caching, better I/O isolation.

But if you only have a few ledgers or you rarely read from the ledgers, the
memtables in Sorted might bring in overhead for you.

- Sijie


> Enrico
>
> Il mer 19 lug 2017, 11:12 Sijie Guo <guosijie@gmail.com> ha scritto:
>
>> Currently we don't have such documentation about these two ledger
>> storages. We are working on improving the documentation as part of BP-11.
>>
>> - Sijie
>>
>> On Wed, Jul 19, 2017 at 3:34 PM, Enrico Olivelli <eolivelli@gmail.com>
>> wrote:
>>
>>> Hi,
>>> is there any doc about the differences and usecases for
>>> InterleavedLedgerStorage vs SortedLedgerStorage ?
>>>
>>>
>>> --- Enrico
>>>
>>
>> --
>
>
> -- Enrico Olivelli
>

Mime
View raw message