Python AWS Lambda – Asyncio working in local but not when running Lambda
For those who’ve worked with asyncio
and aws_lambda_powertools
, I’m working on a simple proof of concept Lambda to demonstrate how async processing can save time. However, I’m seeing no performance improvement between this async Lambda and its non-async counterpart. I assumed this was due to a problem in how I wrote the async code, but when the functions are run locally, the async function shows a huge performance improvement.