Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1505

[performance] hfile should change how it reads from hdfs -- pread/seek+read -- dependent on recent history

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 0.20.4, 0.90.0
    • None
    • None

    Description

      hfile preads all the time at moment. its good we do this when we want to up our random reads. but apparently pread involves open socket, seek, read, close socket whereas seek+read could leave us aligned at next block to read and make for some savings. hfile could have a short memory and change how it pulls from hdfs dependent on recent history.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: