You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by 么广忠 <ya...@ict.ac.cn> on 2019/02/12 03:28:24 UTC

[DISCUSS] BP-38: bypass journal ledger

Hi all,

I am proposing bypass journal ledger for BK, discuss here to hear your advises.

IMO, the easiest way to implement  bypass journal ledger is keep original LAC advance logic in client while bookie return result to client after write to ledgerStorage(not on persistent device usually). At the presence of auto-recovery and multiple replica mechanism, this method is acceptable for most scenario(taken that message system Kafka has more weaker durability than this, and it supports lots of scenarios). Of course, the user should take this into consideration.

The other methods includes integrate with `force` api and implement `nonPersistentLAC` protocol, details are on the BP proposal(https://github.com/apache/bookkeeper/pull/1944).

Regards
Arvin