-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Server side streaming #226
Comments
Hello, I am not sure if I understand the issue correctly, but if |
Hello, thanks for additional comments on this issue. I think I understand the request; which seems slightly different from the original question as I understood it since the original comment said the server "hangs". But I see what you mean in that ghz doesn't really provide a control mechanism to end the stream client-side. This is somewhat similar to #184, but the control predicate is really just a timeout where we close the stream in ghz client. Is this correct summary of the issue? My time is limited right now, but hopefully I can get to this in the near future. |
Exactly this is the correct summary. Thanks @bojand for your reply |
I think this should be addressed with the options introduced in 0.80.0. |
Hi @mml21 @bojand @chhavi-peloton I've similar issue when call grpc server streaming with new options in 0.80.0 release, like -stream-call-duration 10000ms,--stream-call-count=10 Summary: Response time histogram: Latency distribution: Status code distribution: Error distribution: ** however**, when I use BloomRPC tool with same proto file to call grpc method, which is successful. I mean server streaming response would always return data unless I stop the connection(channel).attach my proto and cli for you reference Proto file(s): ghz --insecure Could you please give me any suggestion? |
Proto file(s)
Command line arguments / config
While, that is happening, I have tried hitting the endpoint with grpcurl to
CreateMessage
Describe the bug
I get an error:
To Reproduce
ghz
commandExpected behavior
The behavior of my service is the following:
I have two endpoints. When I hit
SubscribeChannels
, it's supposed to hang forever.I send a
CreateMessage
request. I want the latency between sending aCreateMessage request
andSubscribeChannels
endpoint to receive theMessage
. Is the possible using theghz
tool, and if so, how do I accomplish this?Environment
ghz: 0.59.0
The text was updated successfully, but these errors were encountered: