I know uwsgi is the protocol implemented in uWSGI server. But what changes does it have as compared to wsgi?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The uwsgi protocol is a wire protocol used over the socket between processes with uWSGI. It cannot be compared to WSGI, which is a programmatic API for Python. The uwsgi protocol is more akin to FASTCGI, or SCGI. It is language agnostic. From memory there is very little difference between it and SCGI.
In short, that uwsgi has the name ‘wsgi’ in it was a bad idea as it is actually unrelated to WSGI. You still need an adapter to get from uwsgi to Python WSGI. In the case of uWSGI that is written as C code and embedded in uWSGI. One could write an adapter between uwsgi and other language APIs for web applications as well and uWSGI internal also has such things.