[ANN] Khepri 0.3.0 - A tree-like replicated on-disk database library

Jean-Sébastien Pédron jean-sebastien.pedron@REDACTED
Fri Apr 29 11:33:21 CEST 2022


On 27/04/2022 05:14, Frank Muller wrote:
> Congratulations for the new release.

Thank you!

> Did you update the benchmark against Mnesia?

Michael David, a contributor, did update the benchmark a few days ago.

> Is Kephri 0.3.0 faster?

No, nothing was done to improve the performance.

The throughput or latency are really dependent on the Ra/Raft cluster 
underneath anyway. The write throughput increases with more concurrent 
updates to a Khepri store. The reason is that fsync(2) calls are less 
frequent compared to the number of Raft commands. fsync(2) is what 
impacts the most the performance of Khepri. This is mandatory to provide 
the guarantees of Raft. AFAIK, Mnesia doesn't perform any fsync(2) 
automatically.

-- 
Jean-Sébastien Pédron


More information about the erlang-questions mailing list