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 a开发者_运维技巧pache 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?
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.
Up until then you're probably safe to run just paster, especially if you have excess CPU to waste on serving static files.
精彩评论