我可以在生产现场使用贴纸? [英] Can I use paster on production site?
问题描述
I am trying to set up Mediacore (which is a Pylons app) on a production server. The docs suggest either apache mod_fastcgi or mod_wsgi as webserver but I try to avoid apache at any cost because of its being RAM-monger. On the other hand mediacore works just fine when I use it with paster, so I am wondering what are pros/cons of just ignoring apache and use paster as my production web server?
推荐答案
随着你的负载增加,你可能会碰到CPU或DB限制。典型的回答是用几个平行的后端。然后,一个nginx的或lighttpd的或任何光线的HTTP服务器会派上用场,将让你的负载分布到多个服务器贴膜,廉价地提供静态文件。
As your load grows, you may hit the CPU or DB limit. The typical answer is using several parallel backends. Then an nginx or lighttpd or whatever light HTTP server will come in handy and will allow you to distribute load to several paster servers and serve static files cheaply.
直到那时你可能是安全的,仅运行贴膜,尤其是如果你有多余的CPU浪费在提供静态文件。
Up until then you're probably safe to run just paster, especially if you have excess CPU to waste on serving static files.
这篇关于我可以在生产现场使用贴纸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!