-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Conversation
Test |
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. |
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.
Took a pass at styling. left 2 minor comments
benchmark/worker/benchmark_client.go
Outdated
// 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... |
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.
personal note?
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.
Oh whoops, deleted.
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: