Skip to content

Bug: >> Order of magnitude difference between RAW KV benchmarks and SurrealDB TiKV driver read operations #3413

Answered by sgirones
MinaMatta98 asked this question in Q&A
Discussion options

You must be logged in to vote

Moved to a discussion because it's not really an issue (yet?).

A few comments:

  • You are using 2 different benchmarking frameworks and then comparing the results. Although I understand that you are trying to design the 2nd one to be as close as possible to ycsb, there will always be differences.
  • In go-ycsb, when you run with tikv.type="raw" , it means no transactions. SurrealDB always open a transaction against TiKV to do even the simplest of operations. In order to fix the go-ycsb benchmark, you need to replace that parameter with -p tikv.type=txn -p tikv.async_commit=false -p tikv.one_pc=false
  • SurrealDB, for every "user facing" operation (i.e. CREATE), does more than 5 additional reads i…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MinaMatta98
Comment options

@sgirones
Comment options

@MinaMatta98
Comment options

Answer selected by sgirones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
noissue This can already be done
2 participants
Converted from issue

This discussion was converted from issue #3405 on January 29, 2024 08:19.