Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10338

Implement a Client Datanode API to stream a block

    XMLWordPrintableJSON

Details

    Description

      To reduce round trips between the Client and Datanode for reading a block, we nee a new API to read.

      Client -> block(offset, length) -> Datanode
      Client <- chunkN <- Datanode
      Client <- chunkN+1 <- Datanode
      ..
      Client <-chunkLast <- Datanode
      

      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.

      Attachments

        Issue Links

          Activity

            People

              wfps1210 Chung En Lee
              ritesh Ritesh Shukla
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: