Session Scalability tests for console#35529
Open
leedqin wants to merge 2 commits intoMaterializeInc:mainfrom
Open
Session Scalability tests for console#35529leedqin wants to merge 2 commits intoMaterializeInc:mainfrom
leedqin wants to merge 2 commits intoMaterializeInc:mainfrom
Conversation
Contributor
|
Thanks for opening this PR! Here are a few tips to help make the review process smooth for everyone. PR title guidelines
Pre-merge checklist
|
These are some playwright tests that help determine the session scalability of different console pages - query-audit.spec.ts: per-page query baselines (cluster detail, cluster list, sources list, sinks list, object explorer) - page-load.spec.ts: cold load timing per page and cluster list-to-detail navigation flow - tab-stress.spec.ts: progressive 6-tab stress and mixed page multi-tab - helpers.ts: shared query observation, SQL labeling, timing reports, concurrency analysis, and auth helpers Added SQL query label dictionary mapping each console query to a human-readable name, grouped by page and verified against compiled SQL snapshots. Added baseline results from prod_analytics workload replay and updated guide-testing.md with per-page run commands.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
This PR creates a test suite to understand how different console pages behave in a loaded environment. We can leverage materialize's testing tools like workload capture to create a loaded workload replay environment.
What these tests measure
What these tests don't measure
I am keeping track of findings in the markdown file running against production analytics workload capture and will keep updating that as we make improvements to tests.
Future scale testing directions
Object scale | How does page load change with 10 vs 1000 objects?