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

main,modes: add extra CQL clause option #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

psarna
Copy link
Contributor

@psarna psarna commented Dec 21, 2020

The extra-clause option allows appending a custom CQL clause
to all statements in the chosen workload. Example usage:

$> ./scylla-bench -mode read -workload sequential -extra-clause "using timeout 10ms"
Results
Time (avg):	 48.997763214s
Total ops:	 49748
Total rows:	 49748
Total errors:	 50252
Operations/s:	 1015.0848019658131
Rows/s:		 1015.0848019658131
Latency:
  max:		 15.040511ms
  99.9th:	 11.468799ms
  99th:		 10.027007ms
  95th:		 8.945663ms
  90th:		 8.388607ms
  median:	 6.062079ms
  mean:		 6.225544ms

The extra-clause option allows appending a custom CQL clause
to all statements in the chosen workload. Example usage:

$> ./scylla-bench -mode read -workload sequential -extra-clause "using timeout 10ms"
Results
Time (avg):	 48.997763214s
Total ops:	 49748
Total rows:	 49748
Total errors:	 50252
Operations/s:	 1015.0848019658131
Rows/s:		 1015.0848019658131
Latency:
  max:		 15.040511ms
  99.9th:	 11.468799ms
  99th:		 10.027007ms
  95th:		 8.945663ms
  90th:		 8.388607ms
  median:	 6.062079ms
  mean:		 6.225544ms
@nyh
Copy link
Contributor

nyh commented Jan 3, 2021

This addition seems reasonable to me, but I'd love to see someone more familiar than me with scylla-bench review this before I go ahead and commit it.
Also, maybe this new option should be documented in README.md, which seems to document most (all?) of the existing options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants