-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lower performance compared to tc_aws #114
Comments
I made further tests and tried to use same approach of
and checked if As a result performance are now comparable to the Mine was only a test, but i can confirm you that the difference in response time is caused by the "multiple" s3 client initialization compared to initialize it just one time (for bucket, region, endpoint). |
That fix work only if you do not put code in an async with context and so do not use aiobotocore > 0.12. Just for info the PR #19, at the end re-use only the session not the client, and the bigger effort is on creating the whole s3 client. Currently we have a fast |
Thanks for this heads up |
just for info i have mixed This way i have |
This issue is stale because it has been open 30 days with no activity. Remove the stale label or add a comment, or this issue will be closed in 5 days. You can always re-open if you still feel this is still an issue. Tag @heynemann for more information. |
This issue was closed because it has been stale for 5 days with no activity. |
Resolves thumbor#114
Hi, i switched from tc_aws [7.0.2] to thumbor-aws [0.6.0], but i had to revert cause response time increased by ~ 200 ms.
My configuration is very simple and i use loader only (Bucket is get from url).
thumbor-aws conf:
tc_aws conf:
Could be probably related to the improvements made on
tc_aws
by @amanagr amanagr/aws#1 ?(For whole PR thread: thumbor-community/aws#147).
I will try to investigate further and let you know if i discover something relevant.
Regards, Alberto.
The text was updated successfully, but these errors were encountered: