On Mon, Aug 29, 2016 at 9:28 PM, <[email protected]> wrote:

> how can i show the message size limit?
>

The limit's default value is located deep inside the gRPC Core
<https://github.com/grpc/grpc/blob/e1ec9fd347710a590cd79df4538e5f0f663c92e5/src/core/lib/surface/channel.c#L84>.
We don't yet have APIs for setting application-specific maximum message
sizes in all languages and on both the invocation-side and service-side of
an RPC, but we intend to provide that capability in future development of
the implementation. Between now and then, the best approach to take is to
keep your messages under that limit.

... but knowing a maximum and a minimum doesn't necessarily help with the
question of into what size of messages you *should* break up your data, so I
had to ask around for that: 16KiB to 64KiB
<https://github.com/grpc/grpc.github.io/issues/371>.

Given that there's currently no way for one side of an RPC to ask the other
side what maximum message size is supported, it makes sense to have the
protocol require that all implementations support a certain minimum message
size. I couldn't find any such minimum message size specified, so here's an
issue for that too <https://github.com/grpc/grpc/issues/7927>.
-N

-- 
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/CAEOYnASzO0bo4_Rf0GQWwoj_QDReo44jXZy70eWcj4VVzDVzOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to