-
Notifications
You must be signed in to change notification settings - Fork 0
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
Timeouts for CS, SS, DS should mean the time to the initial message response from the server side #52
Comments
So the README.md was updated, but actually implementation wasn't done. The point is that timeouts for RPC when it comes to CS, SS, DS shouldn't be per-message timeouts. And they shouldn't be per-call timeouts. The only timeout that makes sense here, is timeout to FIRST response. THUS:
@amydevs I need the tasks fleshed out here. Will this impact the #27? |
In the future @amydevs do not write generic issue titles. Issues must be specific! |
In relation to Node Connections, we would say that as long as the RPC stream is live, then NCs should not expire. Because it could mean there's a long running RPC call happening, and this is true even if there is no RPC activity (no messages). At the bottom in the transport layer, there can still be keep alive packets, these are not the same thing. @tegefaulkes can you confirm this? |
The TTL timer for the I also added this logic to the reverse streams in #609. So yeah, if the connection is actively being used then it will not time out from the TTL. |
I don't think should impact #27 |
And by actively used you mean it will support RPC streams that have no activity yet but the stream is still alive. |
Yes. |
Specification
Timeouts for Streaming Calls should only be until the initial message. Once the timeout has been fulfilled, there should be no timeouts that affect the call after that point.
Client
For the client, the timeout is the time that it will wait until getting the first message from the peer.
Server
The timeout will stay advisory for servers, so the server can throw optionally as they need. Timeouts are now understood as the time the client will wait for until the first message.
Additional context
Tasks
The text was updated successfully, but these errors were encountered: