On Thu, 2012-03-08 at 16:50 -0800, Theron Luhn wrote:
> Each customer is using an identical platform, just with different
> database.  My thought was to use a single application and, using the
> URL to determine the customer, connect to the customer's database.  It
> would make setup extremely easy to automate, which is one of the goals
> for the project, as well as saving memory.  However, feel free to
> advise against this.
> 
> 
> Nginx does seem like the way to go.  Any suggests on a WSGI server to
> use with it?

we use uWSGI (http://projects.unbit.it/uwsgi/) behind varnish.
uWSGI serves static files and the pyramid apps. Varnish talks directly
to uWSGI via HTTP.
If you use nginx for proxying/balancing/static files/whatever you can
set it up to use the uwsgi protocol (nginx has the handler included
since 0.8.40 IIRC)

Giacomo


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to