-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
-
Scout Monitoring
Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
Your Python async code is not really async. That's why I think you are getting the same numbers in both cases. You are declaring the function async but then use the sync requests.get call. You should use an async http client library, like httpx , like in this example:
So going down the rabbit hole, I found this issue: https://github.com/tokio-rs/tokio/issues/2401 that confirms that join_all is less efficient.