Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

ASGI is meant to be used to enable asynchronous Python code. I guess there are many I/O bound server applications that can benefit from it.


It depends on the workload and app for sure, but in my experience, most of my services make a bunch of outgoing calls, usually HTTP, to different services, often in a single operation. Being able to do these in parallel, on the side, or via fork/join was pretty handy. For a simple Flask app that fronts a single db, sure, stick with wsgi, but I don't run into many apps like that anymore.



All of the high performing results are running with servers written in C/C++ tho.

I think if we have a more performant ASGI server / event loop, the results might be different.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: