Skip to content
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

perf: does cockroach have some benchmark tool? #2650

Closed
xiaoyulei opened this issue Sep 24, 2015 · 7 comments
Closed

perf: does cockroach have some benchmark tool? #2650

xiaoyulei opened this issue Sep 24, 2015 · 7 comments
Labels
C-question A question rather than an issue. No code/spec/doc change needed. O-community Originated from the community
Milestone

Comments

@xiaoyulei
Copy link
Contributor

Does cockoach have some benchmark function or we can use some other benchmark tool to test it?

@petermattis
Copy link
Collaborator

Can you provide a little more context about what you'd like to test? Are you trying to test performance? Correctness?

For performance, there are micro-benchmarks sprinkled in the *_test.go files and some larger scale benchmark tests as well. We also have a few example apps in the examples directory (shortly moving to the examples-go repo) which simulate particular application load. I would not classify any of these benchmarks as extensive. We haven't done any work comparing Cockroach on "standard" benchmarks, though eventually we'd like to. See #2309. Right now, correctness, stability and functionality, not performance, are the primary concerns.

For correctness, Cockroach has an extensive suite of unit tests.

@xiaoyulei
Copy link
Contributor Author

I am trying to test performance. I see the *_test.go files contains some benchmark tests case. But it is a little simple.

@petermattis
Copy link
Collaborator

Yes, the benchmarks in the *_test.go files are simple. I wasn't trying to claim otherwise. We haven't turned our attention to benchmarking or performance tuning yet.

Do you have a specific application that you're looking to test the performance of? Or a known type of application load? I'm interested in understanding what type of benchmark numbers you'd find interesting. Or what type of application you're considering running on Cockroach.

@xiaoyulei
Copy link
Contributor Author

I wish to do TPCC test on it.

@petermattis
Copy link
Collaborator

I'd love to see a TPC-C test performed on CockroachDB. And I'd love for it to be constructed in a way that we can run the test regularly as the software develops.

@petermattis petermattis modified the milestone: 1.0 Feb 14, 2016
@petermattis petermattis changed the title Does cockroach have some benchmark tool? perf: does cockroach have some benchmark tool? Mar 31, 2016
@kant111
Copy link

kant111 commented Jul 22, 2016

Besides the read and write performance I would also like to see what is performance of joins once the tuples/rows are distributed across nodes. I believe that would be a very interesting metric to compare with other relational distributed systems out there.

@spencerkimball
Copy link
Member

Benchmarking tools are taking shape in https://github.com/cockroachdb/loadgen. There's a generic KV, YCSB, and TPC-H. TPC-C isn't added yet, but likely will be in the near future. Closing this for now as an issue against the main repo.

@jordanlewis jordanlewis added C-question A question rather than an issue. No code/spec/doc change needed. O-community Originated from the community and removed O-deprecated-community-questions labels Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-question A question rather than an issue. No code/spec/doc change needed. O-community Originated from the community
Projects
None yet
Development

No branches or pull requests

6 participants