Skip to content

Performance #109

Answered by koculu
Paliscope asked this question in Q&A
Dec 20, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote
  1. The code you demonstrated uses atomic upserts, which add overhead. You don't need them unless you are implementing a thread-safe counter. Just use a simple upsert or insert.
  2. You will get the performance boost when you insert in parallel with multiple threads.
  3. I am not familiar with the special tuning you have done unless you share the code.
  4. Performance comparison of databases is a very hard topic. There are several other use cases and tuning possibilities for both libraries. For example, for primitive types, ZoneTree is much more faster because RocksDB does not allow key-value types other than byte arrays. In ZoneTree you can directly insert primitive types without any GC pressure.
  5. ZoneT…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by koculu
Comment options

You must be logged in to vote
2 replies
@koculu
Comment options

@Paliscope
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #108 on December 20, 2024 11:12.