[
https://issues.apache.org/jira/browse/HDDS-10338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ritesh Shukla updated HDDS-10338:
---------------------------------
Description:
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.
was:
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.
> 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
> Priority: Major
>
> 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]