我可以在生产现场使用贴纸? [英] Can I use paster on production site?

查看:163
本文介绍了我可以在生产现场使用贴纸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图设置(这是一个主塔应用程序)href=\"http://getmediacore.com/docs/\"> Mediacore在生产服务器上。该文档建议要么阿帕奇的mod_fastcgi或作为的mod_wsgi Web服务器,但我会尽量避免阿帕奇不惜任何代价,因为它是RAM贩子的。在另一方面mediacore工​​作得很好,当我用贴纸使用它,所以我想知道有什么利弊/只忽略Apache和使用贴膜的利弊是我生产的Web服务器?

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆