Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15340

[C++] Try and fetch IPC footer in one read instead of two

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      To concisely read the IPC footer we must do two reads. First read the footer length and then read the footer contents.

      On high latency filesystems we can cut down some of this startup time by assuming the footer is going to be relatively small and reading the last ~1MB of the file. Then we only need to do two reads if the footer is larger.

      This means most of the time we can usually get away with 1 read at the expense of possibly reading more data than needed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            westonpace Weston Pace
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: