-
Notifications
You must be signed in to change notification settings - Fork 482
Add QPS measurements to Cluster Spec Sheet #34058
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
Open
ggevay
wants to merge
5
commits into
MaterializeInc:main
Choose a base branch
from
ggevay:qps-cluster-spec-sheet
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a7cc759
tests: Add a retry loop to Composition.cloud_hostname
ggevay d493ba0
tests: Add QPS to Cluster Spec Sheet
ggevay 1eef74b
Use `mktemp`
ggevay a600dbe
cluster spec sheet: Introduce separate staging env and record into se…
def- c54bc80
Fix repo for dbbench
def- File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
misc/python/materialize/test_analytics/setup/tables/16-cluster-spec-sheet-environmentd.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| -- Copyright Materialize, Inc. and contributors. All rights reserved. | ||
| -- | ||
| -- Use of this software is governed by the Business Source License | ||
| -- included in the LICENSE file at the root of this repository. | ||
| -- | ||
| -- As of the Change Date specified in that file, in accordance with | ||
| -- the Business Source License, use of this software will be governed | ||
| -- by the Apache License, Version 2.0. | ||
|
|
||
|
|
||
| -- result of individual product limits scenarios | ||
| CREATE TABLE cluster_spec_sheet_environmentd_result ( | ||
| build_job_id TEXT NOT NULL, | ||
| framework_version TEXT NOT NULL, | ||
| scenario TEXT NOT NULL, | ||
| scenario_version TEXT NOT NULL, | ||
| scale INT NOT NULL, | ||
| mode TEXT NOT NULL, | ||
| category TEXT NOT NULL, | ||
| test_name TEXT NOT NULL, | ||
| envd_cpus INT NOT NULL, | ||
| repetition INT NOT NULL, | ||
| qps FLOAT | ||
| ); | ||
|
|
||
| ALTER TABLE cluster_spec_sheet_environmentd_result OWNER TO qa; | ||
| GRANT SELECT, INSERT, UPDATE ON TABLE cluster_spec_sheet_environmentd_result TO "hetzner-ci"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,8 +8,6 @@ Reproduce data for the cluster spec sheet effort. | |
|
|
||
| This will run all scenarios currently defined for the cluster spec sheet. | ||
|
|
||
| The test expects a default cluster. | ||
|
|
||
| Pass `--cleanup` to disable the region after the test. | ||
|
|
||
| # Running | ||
|
|
@@ -48,3 +46,9 @@ In this case, the environment variables are not required. | |
| ``` | ||
| bin/mzcompose --find cluster-spec-sheet run default --target=docker | ||
| ``` | ||
|
|
||
| ## Scenarios | ||
|
|
||
| There are two kinds of scenarios: | ||
| - cluster scaling: These measure run times and arrangement sizes. | ||
| - envd scaling: These measure QPS. | ||
|
Comment on lines
+50
to
+54
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please document how to invoke each. |
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to add a retry loop here, because sometimes it would fail despite
mz region enablealready having come back saying that the cloud side of things are done. I think this started to happen when I added anmz region disablebefore mymz region enables. (The reason for adding the disabling is explained in a code comment incloud_disable_enable_and_wait.)