A new way called DWS to run php script on nginx 0.8.x !

hightman hightman at zuaa.zju.edu.cn
Sat Oct 9 14:42:42 MSD 2010

Yes, this is DSR. Thank you very much for your deep advise.

I will try to do more test on it, But I still think that it can save much I/O works under good network speed.

在 2010-10-9,下午6:19, Piotr Sikora 写道:

> Hi,
> it seems that you're trying to implement DSR (Direct Server Return) on application level. There is a lot of disadvantages of DSR:
> http://devcentral.f5.com/weblogs/macvittie/archive/2008/07/03/3423.aspx
> The single advantage of DSR is the fact that response doesn't touch application router or load-balancer on the way back to the client, which allows one to spread traffic over multiple backend servers. However, with PHP-DWS that won't be the case because it will work only on the same machine on which request was accepted.
> So I have to ask: what was the reason this was "invented" in the first place? Because to be honest I don't see any advantages of such approach over HTTP Proxy or FastCGI. It's not like nginx is so bad at relying response back to the client that you need to work around it.
> Best regards,
> Piotr Sikora < piotr.sikora at frickle.com >
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

More information about the nginx mailing list