Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>So here are my thoughts about it:</p> <p>I am using <a href="http://pythonpaste.org/" rel="nofollow noreferrer">Python Paste</a> for developing my app and eventually also running it (or any other python web server). I am usually not using mod_python or mod_wsgi as it makes development setup more complex.</p> <p>I am using <a href="http://pypi.python.org/pypi/zc.buildout" rel="nofollow noreferrer">zc.buildout</a> for managing my development environment and all dependencies together with <a href="http://pypi.python.org/pypi/virtualenv" rel="nofollow noreferrer">virtualenv</a>. This gives me an isolated sandbox which does not interfere with any Python modules installed system wide. </p> <p>For deployment I am also using buildout/virtualenv, eventually with a different buildout.cfg. I am also using <a href="http://pythonpaste.org/deploy/" rel="nofollow noreferrer">Paste Deploy</a> and it's configuration mechanism where I have different config files for development and deployment.</p> <p>As I am usually running paste/cherrypy etc. standalone I am using Apache, NGINX or maybe just a Varnish alone in front of it. It depends on what configuration options you need. E.g. if no virtual hosting, rewrite rules etc. are needed, then I don't need a full featured web server in front. When using a web server I usually use ProxyPass or some more complex rewriting using mod_rewrite.</p> <p>The Python web framework I use at the moment is <a href="http://static.repoze.org/bfgdocs/" rel="nofollow noreferrer">repoze.bfg</a> right now btw.</p> <p>As for your questions about reloading I know about these problems when running it with e.g. mod_python but when using a standalone "paster serve ... -reload" etc. it so far works really well. repoze.bfg additionally has some setting for automatically reloading templates when they change. If the framework you use has that should be documented.</p> <p>As for multithreading that's usually used then inside the python web server. As CherryPy supports this I guess you don't have to worry about that, it should be used automatically. You should just eventually make some benchmarks to find out under what number of threads your application performs the best.</p> <p>Hope that helps.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload