I am attempting to use the library s3fs
in a tornado
application. The easiest approach would be to make a small function that fetches some data from s3 (using s3fs
) and wrap that in run_in_executor()
.
Is there any advantage to writing a custom library to fetch from s3 using tornado's AsyncHTTPClient
instead?
(Note: I am aware of botoaio and others. For my particular use-case I require the output to be in the format provided by s3fs
.)