Hi,

Flow control is very intrinsic to all http2 behavior, so it very well could
have throughput implications. gRPC's transport layer does a lot of
automatic tuning of flow control values based on BDP estimate. However,
these numbers take time to settle, so if you are benchmarking, ensure you
have a sufficient warm up period before starting measurements.

If you do want to make manual changes, you can tune the initial window size
by setting the channel arg GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES, which is
found here
<https://github.com/grpc/grpc/blob/master/include/grpc/impl/codegen/grpc_types.h#L178>
.

Hope this helps,
Noah



On Mon, Nov 6, 2017 at 6:17 PM, yihao yang <[email protected]> wrote:

> Could any one help?
>
> 在 2017年10月13日星期五 UTC-7下午1:09:17,yihao yang写道:
>>
>> Hi, all
>>
>> I wonder if the window size will affect the throughput of unary RPCs.
>> And how to configure the window size in GRPC?
>>
>> Thanks,
>> Yihao
>>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/2ecf634b-9bb5-4dd0-b2c5-f35e6e577109%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/2ecf634b-9bb5-4dd0-b2c5-f35e6e577109%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAPYwnkhpU-CCPur%2BONAbLTsJ2FTmAkDjkz_wquCpxo3ru5oTmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to