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

[C++] Use our own executor in S3FileSystem

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • C++

    Description

      We use the AWS SDK async APIs in some places in S3FileSystem, but all they do is spawn a separate thread and run the sync API in it.

      Instead we should use our IO executor, which would:
      1) put an upper bound on the number of threads started
      2) (presumably) reduce latency by reusing threads instead of spawning a throwaway thread for each async call
      3) allow for cancellation

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h