You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there way to hook up a callback from grpc after each message is sent done? Or it could be after the data is serialized to a different memory space.
I am trying to use Netty's DirectByteBuf for Created ByteString(use UnsafeByteOperations#unsafeWrap(ByteBuffer)) in the msg object and want to release those for reuse after the transmission is done.
Also, I'm wondering if it's possible to achieve zero-copy when sending messages if I do this.
The text was updated successfully, but these errors were encountered:
There's a way to do this for receiving, but nothing for sending.
There's been plenty of conversation around this, but it isn't a simple issue. Take a look at #1054, maybe starting somewhere near #1054 (comment) . I honestly don't remember how unclear an approach is for sending.
Is there way to hook up a callback from grpc after each message is sent done? Or it could be after the data is serialized to a different memory space.
I am trying to use Netty's DirectByteBuf for Created ByteString(use UnsafeByteOperations#unsafeWrap(ByteBuffer)) in the msg object and want to release those for reuse after the transmission is done.
Also, I'm wondering if it's possible to achieve zero-copy when sending messages if I do this.
The text was updated successfully, but these errors were encountered: