-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Load and concurrency control #235
Conversation
Tested the new switches and controls and they certainly worked well in my own gRPC application. In particular, the load control and concurrency control were nice features and are welcome additions to ghz. A few general comments:
|
Hello, thanks for giving the prerelease a try and for the feedback!
As new docs state,
Yup will have to fix this. Thanks!
Can you elaborate some more on this please? I am not sure the best way to express this via CLI, but it should be doable via package API that's still to come to expose specifying custom pacer (for controlling RPS load) and worker ticket (for controlling concurrency). Thanks for the feedback. I am hoping to finish this up and release it soon. |
|
This is initial work in progress on some significant changes to allow for improved behaviour and better control of load and concurrency within
ghz
.Changes
qps
option renamed to-r
,--rps
.--async
option to allow for sending of requests asynchronously.--load-*
parameters to control request rate.--concurrency-*
parameters to control the worker concurrency.Please see usage docs, options docs with some examples, and additional load walkthrough and concurrency overview.
Tagging relevant issues: #111, #182, #185, #209, #225, #233, #238.
Respectfully tagging relevant users that were involved in the issues above which may be interested in this work:
@ezsilmar @tp @juwatanabe @datngohoang @vlasenkoalexey @howardjohn @sujitdmello @craigh1015
You can find the binaries at the v0.70.0-beta and v0.70.0-beta.1 pre-release pages.
I would appreciate if you gave the new options a try and see if it addresses the various issues and quirks.
Any feedback would be helpful.
Thanks!