-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need some tips about benmark results #192
Comments
I set threshold=65536, trailing=65536. not sure related. 3 node cluster |
Hello @calvin2021y, I'm good, hope you too! Is it possible for you to share the source code of the benchmark? |
Thanks and I am good too. the benchmark code is a massy and I need time to tidy it up. (I will try modify and send to you, If you can accept binary I can send it ASAP) After run more test, I guess it cloud be related to my code. here is a updated results:
The time is Avg time of each request. I run each test many time and the result is stable. I try 10s duration and 300s duration, restul also stable. The cowsql version test run few test ( 5000 connection level) will blocked and no response. I test with threshold=65536, trailing=65536, timeout=50ms, election=200ms. reduce threshold to 1024 will make the speed much slow. (I guess cause by too much async snapshot) I change the snapshot size to 16 byte, contains 2 int64_t number. |
for each connection, they wait the log committed then return result to client, client start next request to modify FSM value. they all connected to leader. |
hi @freeekanayaka
I hope you are doing well and in good health.
I recently started playing around with raft again, I notice the pubic api almost is the same with dqlite master branch.
So i write a tiny test with 8 byte count, do some simple benchmark. (use tmpfs as data dir)
I only change the header search dir and library file, compare dqlite with cowsql raft.
dqlite around 63.82k, but cowsql raft around 8.17k.
I hope to know the specific reason, I notice with
LIBRAFT_TRACE=1
the cowsql give very details logs, dqlite not response for this env.What other factors do you think influenced the results?
The text was updated successfully, but these errors were encountered: