Can I use paster on production site?

874 views Asked by At

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?

1

There are 1 answers

2
9000 On BEST ANSWER

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.