Can you explain why you are interested or what you are doing? From the
perspective of users, unary gRPC requests are simultaneously unbuffered and
fully buffered, depending on what the user is truly asking.

NettyWritableBufferAllocator isn't related to network buffers. It produces
buffers for serializing messages, however serialization is done
all-at-once. The only thing the 1M value does
in NettyWritableBufferAllocator is to limit the maximum block size in
memory, which relates to allocation performance and memory fragmentation.

On Tue, Aug 13, 2019 at 6:27 PM Rama Rao <ramaraochav...@gmail.com> wrote:

> For unary gRPC requests, what is the default netty buffer size? Is it
> pushed in buffers of 1M as mentioned here
>
> https://github.com/grpc/grpc-java/blob/master/netty/src/main/java/io/grpc/netty/NettyWritableBufferAllocator.java.
> Is that correct understanding?
>
> Thanks,
> Rama
>
> --
> 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 grpc-io+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/CAFfmCFGKUhoy%3D0HbcxsfhWa430RZgTxFN8nq0f2QDxXKxGh4ng%40mail.gmail.com
> <https://groups.google.com/d/msgid/grpc-io/CAFfmCFGKUhoy%3D0HbcxsfhWa430RZgTxFN8nq0f2QDxXKxGh4ng%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oOfgVBVQhPfjeRqsSHOvQmhv42JD%2BiTvQ1VUXEuJfbasg%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to