This document attempts to discuss alternate patterns for deploying
TurboGears 2.1.5. It is written with the assumption that you
have at least read the Standard Deployment Pattern, as most documents
will simply discuss the differences from a standard deployment.
New developers should likely use the Standard Deployment Pattern (if possible).
The choices involved in alternate installations can be daunting if you
aren’t yet familiar with the various components.
The web-server, which actually receives and processes HTTP requests
from clients and converts them to WSGI requests for your TurboGears
project, can significantly impact the performance and scalability of
paster serve production.ini – while not recommended for large
or high-traffic sites, Paste’s web-server can often serve for small
internal sites with few users. See Deploying as a Service/Daemon for a
discussion of how to keep your server running.
NGINX Web Server – an alternative asynchronous high-performance web-server
which can reverse-proxy TurboGears
Light HTTPD – has built-in FastCGI support, so can
be used to reverse-proxy TurboGears
Twisted Web2 – likely only of interest if you are already using
Twisted for your application and simply want to host a TurboGears
application within it. Twisted’s WSGI implementation is not
heavily optimized, so should not be used for high-performance sites.
MS-IIS users may want to experiment with the WSGI support from the