You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/03/08 19:23:00 UTC

[jira] [Created] (ARROW-11907) [C++] Use our own executor in S3FileSystem

Antoine Pitrou created ARROW-11907:
--------------------------------------

             Summary: [C++] Use our own executor in S3FileSystem
                 Key: ARROW-11907
                 URL: https://issues.apache.org/jira/browse/ARROW-11907
             Project: Apache Arrow
          Issue Type: Task
          Components: C++
            Reporter: Antoine Pitrou


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




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