top | item 34338178

Ask HN: WSGI or ASGI for Python what are you using?

3 points| cirospaciari | 3 years ago

I see a lot of people using WSGI with multi-process instead of ASGI, what are you using and why?

2 comments

order
[+] zach_garwood|3 years ago|reply
All my personal projects are using WSGI because I haven't had time ro sit down and read about ASGI yet. What are the biggest differences?
[+] cirospaciari|3 years ago|reply
ASGI is a newer spec that uses async for everything (what is not really a great ideia if you is not IO bounded), so you can process more than one request at a time with ASGI if you are IO bounded, but have more overhead (a lot more) than WSGI in non IO bounded work