The old-threaded-ugly-runmeonlocalhostasiamunsecure embedded http server is 
dead.

A new one totally async/high-performance, based on the fastrouter plugin is 
available.

Currently it supports all the old features + the fastrouter ones (so you can 
use it to route requests based on the hostname
without external tools/webservers).

In the next commits i will add support for clustering/load-balancing (the same 
you already find in the proxy plugin) so users that use a webserver (or a proxy 
like haproxy)
to only forward requests to uWSGI workers can remove an entire layer from the 
stack.

Example:

haproxy -> nginx -> uwsgi

will became

uwsgi_http -> uwsgi

and if you have a site that maps static files to different domain you will 
reach the best configuration:

example.com -> uwsgi_http -> uwsgi
static.example.com -> nginx

But the real objective is to have a configuration like this:

uwsgi --http :80 --http-cluster 225.1.1.1:9090

With this setup you http server will automatically load balance requests to 
nodes joining the cluster

*** Disclaimer ***

Do not ask for static files serving, this is a job for real webservers, not for 
proxy/routers.
If you want you can obviously serve static files within uWSGI workers.

--
Roberto De Ioris
http://unbit.it

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to