grpc-rust icon indicating copy to clipboard operation
grpc-rust copied to clipboard

Flow control

Open stepancheg opened this issue 7 years ago • 0 comments

Currently client or server essentially offers unlimited window to the peer. So if client or server is slow at processing messages, it may run out of memory.

So gRPC implementation should slow down, if user provided callback cannot process messages right now.

Internally it could probably be done by replacing UnboundedSender with some kind of bounded sender.

stepancheg avatar Jan 21 '17 20:01 stepancheg