Hacker News new | ask | show | jobs
by swuecho 1673 days ago
read a blog claim that asyncio does not faster than normal python code. so why async?
1 comments

Good question. Performance is only one aspect of asyncio. Being able to pass co-routines around, parallelize I/O and make use of things like Starlette's background tasks is the main reason in my mind. Performance is not an issue if you have a business to pay for 20-50% as many app instances. And I do believe the results of those benchmarks are contested, so asyncio can perform as well if not better.