gRPC java: reuse underlying Netty DirectByteBuffer across channels

54 views
Skip to first unread message

宋子阳

unread,
Jul 2, 2022, 12:02:35 PM7/2/22
to grpc.io
Hi,
I have a gRPC client sending the exact same messages to different N endpoints. Underlying Netty will allocate direct memory of this message for each endpoint, multiplying direct memory usage by a factor of N. Is it possible to allocate only 1 copy and reuse it across different channels?

Best Wishes,
William Song
Reply all
Reply to author
Forward
0 new messages