You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use gRPC streams, calling onNext() is an asynchronous operation. In cases of poor network conditions, packet loss may occur. Is there any way to implement an acknowledgment mechanism similar to TCP/IP's ACK?
The text was updated successfully, but these errors were encountered:
gRPC guarantees message ordering, so if the sender sends messages A, B and C in a stream, there can never be a case where only A and C are received but B is lost. If C is received, it implies both A and B were received as well. gRPC also buffers and retires messages in a stream.
Any ack mechanism that is needed should be implemented in the application code.
When I use gRPC streams, calling onNext() is an asynchronous operation. In cases of poor network conditions, packet loss may occur. Is there any way to implement an acknowledgment mechanism similar to TCP/IP's ACK?
The text was updated successfully, but these errors were encountered: