Zvika Ferentz
Zvika Ferentz
@dacevedo12 - thanks for the feedback !!! i totally agree with you and we're working to update our system to use single Session object, I have a feeling that the...
@thehesiod that's my point - i think that the creating the session (or maybe it's the resource) makes a blocking call to boto3 which leads to a blocking I/O call...
For example, i see that the call `async with session.resource(...)` calls `self._loader.load_service_model(...)` which calls botocore's `list_available_services` which eventually calls `os.listdir` twice and then checks if file exists using `os.path.isfile` ....
@thehesiod Thank you for the immediate feedback. First, I'm happy that i was not completely wrong and we do have an async code that calls blocking I/O functions. I wasnt...
@thehesiod Thanks again for your quick reply !! I do agree with everything you've mentioned but i think that caching as a simple dict class-member will speed up the performance...