Lucas Lersch
2016-04-13 12:01:21 UTC
Hi,
I have a question regarding durability. As stated in the documentation,
leveldb uses async writes to the log file meaning that it may lose updates
in the event of a system failure. If I want to have full durability
guarantees I have to write every WriteBatch in synchronous mode. If I run a
YCSB benchmark with inserts/updates directly on top of leveldb with 1
thread only, I get really poor performance since there is one IO call for
every key-value pair (or so). My question is regarding the best way to
ensure durability while not losing so much in performance. Should this case
be treated at a higher level or maybe at a lower level (fs with
journaling)? Would multi-threading alleviate the high performance-cost in
this case?
Best regards.
I have a question regarding durability. As stated in the documentation,
leveldb uses async writes to the log file meaning that it may lose updates
in the event of a system failure. If I want to have full durability
guarantees I have to write every WriteBatch in synchronous mode. If I run a
YCSB benchmark with inserts/updates directly on top of leveldb with 1
thread only, I get really poor performance since there is one IO call for
every key-value pair (or so). My question is regarding the best way to
ensure durability while not losing so much in performance. Should this case
be treated at a higher level or maybe at a lower level (fs with
journaling)? Would multi-threading alleviate the high performance-cost in
this case?
Best regards.
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.