[ 
https://issues.apache.org/jira/browse/HDDS-10338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDDS-10338:
-----------------------------------
    Target Version/s: 2.2.0

> 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: New Feature
>          Components: Ozone Client, Ozone Datanode
>            Reporter: Ritesh Shukla
>            Assignee: Chung En Lee
>            Priority: Major
>              Labels: ozone-performance, pull-request-available
>
> 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]

Reply via email to