Ritesh Shukla created HDDS-10338:
------------------------------------
Summary: Implement a Client Datanode API to stream a block
Key: HDDS-10338
URL: https://issues.apache.org/jira/browse/HDDS-10338
Project: Apache Ozone
Issue Type: Bug
Components: Ozone Client, Ozone Datanode
Reporter: Ritesh Shukla
To reduce round trips between the Client and Datanode for reading a block, we
nee a new API to read.
{code}
Client -> block(offset, length) -> Datanode
Client <- chunkN <- Datanode
Client <- ChunkN+1 <- Datanode
..
Client <-ChunkLast <- Datanode
{code}
This is using the ability of gRPC to send bidirectional traffic such that the
server can pipeline the chunks to the client without waiting for ReadChunk API
calls. This also avoids the client from creating multiple Chunk Stream Clients
and should simplify the read path on the client side by a bit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]