asgi
Why Use WSGI/ASGI When We Have Nginx?
· β˜• 4 min read
Why use ASGI/WSGI between Python application and nginx when Python application can directly communicate to nginx? Why is that middle man needed? These were the questions that came to my mind when I was dabbling with FastAPI and I have to install uvicorn to host the Python application. Whereas Python itself can open a port and listen to incoming request.