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

benchmark: Add support for Poisson load in benchmark client #6378

Merged
merged 6 commits into from
Jun 22, 2023

Conversation

zasweq
Copy link
Contributor

@zasweq zasweq commented Jun 16, 2023

This PR adds support for Poisson Load in the benchmark client. This is needed to put gRPC-Go on the xDS benchmarking dashboard.

RELEASE NOTES:

  • benchmark: Add support for Poisson load in benchmark client

@zasweq
Copy link
Contributor Author

zasweq commented Jun 16, 2023

@gnossen

@zasweq zasweq added this to the 1.57 Release milestone Jun 16, 2023
@gnossen
Copy link

gnossen commented Jun 16, 2023

Test

benchmark/worker/benchmark_client.go Outdated Show resolved Hide resolved
benchmark/worker/benchmark_client.go Outdated Show resolved Hide resolved
benchmark/worker/benchmark_client.go Outdated Show resolved Hide resolved
@zasweq
Copy link
Contributor Author

zasweq commented Jun 16, 2023

Discussed offline, the conclusion was to merge this, and then get the gRPC Eng Prod team to add Go to PSM Benchmarks, than manually verify using kokoro logs displayed (given (and thus expected) qps and the actually received qps.

@arvindbr8 arvindbr8 self-requested a review June 20, 2023 17:43
Copy link
Member

@arvindbr8 arvindbr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took a pass at styling. left 2 minor comments

// getStats returns the stats for benchmark client.
// It resets lastResetTime and all histograms if argument reset is true.
func (bc *benchmarkClient) getStats(reset bool) *testpb.ClientStats {
func (bc *benchmarkClient) getStats(reset bool) *testpb.ClientStats { // can you get QPS out of this, maybe in metric key value pair somehow. Or poll every x time and see how many requests...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

personal note?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh whoops, deleted.

benchmark/worker/benchmark_client.go Show resolved Hide resolved
@zasweq zasweq assigned arvindbr8 and unassigned zasweq Jun 22, 2023
@zasweq zasweq merged commit a9c7942 into grpc:master Jun 22, 2023
1 check passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants