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...
@voicecomms any idea what's not working ? I'm using this module (With some patches on top of it) with Python 3.10 . I wonder which Python version you're using and...
That's weird. this is how I'm building it (Python3.10), hope it helps : ``` rm -rf ari-py git clone https://github.com/asterisk/ari-py.git pushd ari-py # Apply patch PR#16 - python3 support wget...
@codeasashu of course i know :) . i wish it was easy for me to switch to asyncio. one day...but until that day i'm stuck with a 10-years library that...