hadoop/hadoop-tools/hadoop-aws/src
Alessandro Passaro 0f1a3f23a5
HADOOP-18378. Implement lazy seek in S3A prefetching. (#4955)
Make S3APrefetchingInputStream.seek() completely lazy. Calls to seek() will not affect the current buffer nor interfere with prefetching, until read() is called.

This change allows various usage patterns to benefit from prefetching, e.g. when calling readFully(position, buffer) in a loop for contiguous positions the intermediate internal calls to seek() will be noops and prefetching will have the same performance as in a sequential read.

Contributed by Alessandro Passaro.
2023-04-28 12:03:30 +01:00
..
main HADOOP-18378. Implement lazy seek in S3A prefetching. (#4955) 2023-04-28 12:03:30 +01:00
site HADOOP-18378. Implement lazy seek in S3A prefetching. (#4955) 2023-04-28 12:03:30 +01:00
test HADOOP-18378. Implement lazy seek in S3A prefetching. (#4955) 2023-04-28 12:03:30 +01:00