python - If I want to use a pylons app with Apache, should I use mod_wsgi or proxy to paste? -


Or should I use a completely different server?

NGNC is required to use non-blocking asynchronous framework and setup with modidology, and possibly a box There is no possibility of working outside.

I usually go with the proxy route for the stand-alone Pylons process using PasteScript # Cherrypy WSGI Server (Paste # as compared to its high performance as a HTP, although if you leak , Then this thread will not recycle ...).

If you are set to use Apache and its your server (so you can compile and run Apache mod_wsgi), then I suggest using that setup Because of its low maintenance effectively many cores. With proxy setup, you have to use mod_proxy_balancer with many paste processes so that many cores / sides can be used effectively.

If you are planning on someone else's Apache (shared hosting), mod_proxy is usually an easy solution as its stock in Apache 2.2 and above.

Personally, I usually deploy with NGN + proxy for many pastear processes.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -