flask - uWSGI是什么?为什么python web开发经常会提到它?
阿神
阿神 2017-04-18 10:30:58
0
2
523

uWSGI是什么?为什么python web开发经常会提到它?

阿神
阿神

闭关修行中......

reply all(2)
PHPzhong

A regular web service often needs to run two programs on its server (Server, here refers to the computer), one is the underlying Server (the same name as before, but here refers to a program), and the other It is the upper-layer Application.
The underlying server often needs to handle a lot of repetitive, little-changing and boring work, so generally you can see relatively mature solutions, such as uWSGI or Gunicorn as you mentioned.
As for the upper-layer Application part, different applications are very different, and there is no one-and-done solution. However, despite this, there are still some good design patterns and some easy-to-use tools. This is the python web development framework. Such as flask, django, etc., all belong to this.
As for the interaction between the underlying Server and the upper-layer Application, it follows a convention called WSGI, which will not be detailed here.

黄舟

Because you can use it to deploy py

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!