[web.py问题]如果python bin/app.py 可以实现网站的上线,那为啥还需要apache这些web server软件?
天蓬老师
天蓬老师 2017-04-17 11:26:26
0
3
396

今天学了web.py的sample,所以很疑惑,既然一个命令就让网页可以被在线访问了,那是不是就不需要apache这些服务器软件了呢?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
小葫芦

One premise is that in addition to the application itself, you have other needs in terms of the overall architecture. For example, load processing, port processing, domain (name) processing, static file processing, etc., then these software such as nginx have been implemented very well, and they are implemented with appropriate technology.

So the answer to the question is: you don’t just need an HTTP Server, that’s the reason for using these software.

黄舟

If you only have 10 users, then web.py comes with OK, but what if it is 1w? The built-in webserver has limited processing capabilities.

迷茫

Choose the appropriate Web Server based on your website architecture.

You can use Web.py alone to work normally, but once the number of visits increases, you have to use special software to do clustering, load balancing, etc. as a Web Server.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template