Hi (your name?),
first step....
how does your client look like ?

WriteHandle writer = bookkeeper.createLedgerOp().....execute().get();

BAD WAY
writer.append() ---> SYNC, will block until fsync on bookies !!!
writer.append() ---> SYNC
writer.append() ---> SYNC
writer.append() ---> SYNC
writer.append() ---> SYNC

GOOD WAY
writer.appendAsync() ---> ASYNC
writer.appendAsync() ---> ASYNC
writer.appendAsync() ---> ASYNC
writer.appendAsync() ---> ASYNC
writer.appendAsync() ---> ASYNC
writer.appendAsync() ---> ASYNC
writer.appendAsync().get()    BLOCK ONLY ON THE last entry (or after a
batch of X entries)

Cheers
Enrico





Il giorno ven 6 lug 2018 alle ore 08:46 li.peng...@zhaopin.com.cn <
li.peng...@zhaopin.com.cn> ha scritto:

>
>     Hi
>
>             I try to use bookkeeper.  i care latency of write. so start a
> test in single thread.  get 400 ops/s  in double SSD.
>
>             how to improve performance to get the low-latency.
>
>     Thanks.
>
> ------------------------------
> li.peng...@zhaopin.com.cn
>

Reply via email to