I'm sorry, that is my fault, my bench used LedgerHandler#readEntries, which 
blocks until all the entries are returned.
Using the async version I get the expected thoughtput.

I have one project with uses the blocking version because it need to process 
data in the same thread which scans the ledger. I will need to refactor the 
code in order to let data be processed on the BK callback thread.

Thanks
-- Enrico


Il giorno ven, 20/05/2016 alle 10.03 -0700, Sijie Guo ha scritto:
What is your observation? How slow is it? And how do you do the scan?

- Sijie

On Fri, May 20, 2016 at 6:45 AM, Enrico Olivelli - Diennea 
<[email protected]<mailto:[email protected]>> wrote:
Hi,
I'm wondering how to speed up reads from BookKeeper.
"Tail" reads are very fast because they hit Bookie cache, but when I need to 
scan the full content of a ledger performances are in general very poor.

Is it only a matter of disks or is there any Bookie parameter tuning possible ?

Thank you


--
Enrico Olivelli
Software Development Manager @Diennea
Tel.: (+39) 0546 066100<tel:%28%2B39%29%200546%20066100> - Int. 925
Viale G.Marconi 30/14 - 48018 Faenza (RA)

MagNews - E-mail Marketing Solutions
http://www.magnews.it
Diennea - Digital Marketing Solutions
http://www.diennea.com


________________________________

Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email 
marketing! http://www.magnews.it/newsletter/

The information in this email is confidential and may be legally privileged. If 
you are not the intended recipient please notify the sender immediately and 
destroy this email. Any unauthorized, direct or indirect, disclosure, copying, 
storage, distribution or other use is strictly forbidden.



--
Enrico Olivelli
Software Development Manager @Diennea
Tel.: (+39) 0546 066100 - Int. 925
Viale G.Marconi 30/14 - 48018 Faenza (RA)

MagNews - E-mail Marketing Solutions
http://www.magnews.it
Diennea - Digital Marketing Solutions
http://www.diennea.com


________________________________

Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email 
marketing! http://www.magnews.it/newsletter/

The information in this email is confidential and may be legally privileged. If 
you are not the intended recipient please notify the sender immediately and 
destroy this email. Any unauthorized, direct or indirect, disclosure, copying, 
storage, distribution or other use is strictly forbidden.

Reply via email to