szetszwo commented on PR #5497:
URL: https://github.com/apache/ozone/pull/5497#issuecomment-1783252989

   > ... I think the notion of "zero copies" has to start with ratis log 
reader, aka, the start point of the data flow. ...
   
   The client requests are received from the network (for leader, it is 
directly from client; for followers, it is the log entries from the leader).  
It should not be related to the log reader unless the cache is full and the 
entry is invalidated.   This remind me that Ozone does have a 
`ContainerStateMachine` cache bug.
   
   Anyway, the `ByteString` received in gRPC unfortunately seems not 
`NioByteString`.  Let me verify it in Ozone.
   
   > ... I guess that is a part of ratis-streaming and cannot be just Ozone 
code change.
   
   Yes, Ratis Streaming uses Netty directly.  It neither use gRPC nor Protobuf 
for data.  (It does use Protobuf for headers.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to