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

Arpit Agarwal updated HDDS-1528:
--------------------------------
    Target Version/s: 0.7.0

> Buffer Pool in BlockInputStream
> -------------------------------
>
>                 Key: HDDS-1528
>                 URL: https://issues.apache.org/jira/browse/HDDS-1528
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Hanisha Koneru
>            Priority: Major
>
> In BlockInputStream, when a new chunk is being read, the data in old buffers 
> is thrown away. So, if we want to read data in chunk1 and then chunk2 and 
> then go back to reading chunk1, we would have to fetch chunk1 again from the 
> DNs.
> Reads can be optimized if we maintain a buffer pool instead instead of only 
> one buffer. This way, we can cache chunk data for re-reads.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to