<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Pitfall of proxying HTTP requests through Lighttpd</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Tue, 02 Dec 2008 20:03:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Dieselstation</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-204991</link>
		<dc:creator>Dieselstation</dc:creator>
		<pubDate>Mon, 26 Nov 2007 14:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-204991</guid>
		<description>Julian &#38; Maciej,

Considering your input, I will change my server setup and see how it behaves over a period of week. Dieselstation serves high res wallpapers, so probably it makes sense to serve images directly through lighttpd instead of proxying the request from apache to lighttpd.</description>
		<content:encoded><![CDATA[<p>Julian &amp; Maciej,</p>
<p>Considering your input, I will change my server setup and see how it behaves over a period of week. Dieselstation serves high res wallpapers, so probably it makes sense to serve images directly through lighttpd instead of proxying the request from apache to lighttpd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-204361</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sun, 25 Nov 2007 18:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-204361</guid>
		<description>I spoke to Jan about this case a while back and he was going to add on disk buffering for large sizes though I'm not sure if this was done in lighty 1.5 or waits for next version.</description>
		<content:encoded><![CDATA[<p>I spoke to Jan about this case a while back and he was going to add on disk buffering for large sizes though I&#8217;m not sure if this was done in lighty 1.5 or waits for next version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Monashev</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-204246</link>
		<dc:creator>Michael Monashev</dc:creator>
		<pubDate>Sun, 25 Nov 2007 14:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-204246</guid>
		<description>nginx forever! :-)</description>
		<content:encoded><![CDATA[<p>nginx forever! <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maciej Dobrzanski</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-203656</link>
		<dc:creator>Maciej Dobrzanski</dc:creator>
		<pubDate>Sat, 24 Nov 2007 21:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-203656</guid>
		<description>Dieselstation,

As Julian pointed out configuring it other way around makes no sense as Apache is the heavy one. The correct setup is to avoid any larger objects sent through Lighttpd proxy, but to serve them with Lighty directly. But this, obviously, may not be possible to do however in case of bugs as mentioned in my post :)</description>
		<content:encoded><![CDATA[<p>Dieselstation,</p>
<p>As Julian pointed out configuring it other way around makes no sense as Apache is the heavy one. The correct setup is to avoid any larger objects sent through Lighttpd proxy, but to serve them with Lighty directly. But this, obviously, may not be possible to do however in case of bugs as mentioned in my post <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-203475</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Sat, 24 Nov 2007 15:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-203475</guid>
		<description>@Dieseelstation:
Such a setup would be nonsense, because you would have to start a 'big' apache process just to proxy your static content which is served by lighttpd. Just run both on different ports and do no proxying.</description>
		<content:encoded><![CDATA[<p>@Dieseelstation:<br />
Such a setup would be nonsense, because you would have to start a &#8216;big&#8217; apache process just to proxy your static content which is served by lighttpd. Just run both on different ports and do no proxying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieselstation</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-203005</link>
		<dc:creator>Dieselstation</dc:creator>
		<pubDate>Sat, 24 Nov 2007 02:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-203005</guid>
		<description>Do you think this problem would exists if the setup was reversed? Meaning, let Apache be your prime server and do the proxy forward for the static content to the lighttpd! In that case, lighttpd will not consume as much memory and will do its job efficiently.</description>
		<content:encoded><![CDATA[<p>Do you think this problem would exists if the setup was reversed? Meaning, let Apache be your prime server and do the proxy forward for the static content to the lighttpd! In that case, lighttpd will not consume as much memory and will do its job efficiently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davies</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202577</link>
		<dc:creator>davies</dc:creator>
		<pubDate>Fri, 23 Nov 2007 13:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202577</guid>
		<description>o, I will check it again, thank you!</description>
		<content:encoded><![CDATA[<p>o, I will check it again, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: citrin</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202366</link>
		<dc:creator>citrin</dc:creator>
		<pubDate>Fri, 23 Nov 2007 08:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202366</guid>
		<description>nginx with default config in such situation buffer upstream response on disk.</description>
		<content:encoded><![CDATA[<p>nginx with default config in such situation buffer upstream response on disk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davies</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202289</link>
		<dc:creator>davies</dc:creator>
		<pubDate>Fri, 23 Nov 2007 07:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202289</guid>
		<description>I had the problem with Nginx too, when i downloaded a big file (750M), and using Nginx as a reversed proxy before lighttpd.</description>
		<content:encoded><![CDATA[<p>I had the problem with Nginx too, when i downloaded a big file (750M), and using Nginx as a reversed proxy before lighttpd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wai Keen Woon</title>
		<link>http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202069</link>
		<dc:creator>Wai Keen Woon</dc:creator>
		<pubDate>Fri, 23 Nov 2007 02:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/11/22/pitfall-of-proxying-requests-with-lighttpd/#comment-202069</guid>
		<description>The store-and-forward nature of lighttpd is good for getting data away from the backends as quickly as possible regardless of client speed, thus releasing them to handle other requests. However, without a limit on buffer size the situation you describe can happen. It's surprised me before, when I was proxying large files off a backend squid server.

I know two reverse proxies that have hybrid S&#38;F and cut-through forwarding with configureable buffer size - nginx and squid.</description>
		<content:encoded><![CDATA[<p>The store-and-forward nature of lighttpd is good for getting data away from the backends as quickly as possible regardless of client speed, thus releasing them to handle other requests. However, without a limit on buffer size the situation you describe can happen. It&#8217;s surprised me before, when I was proxying large files off a backend squid server.</p>
<p>I know two reverse proxies that have hybrid S&amp;F and cut-through forwarding with configureable buffer size - nginx and squid.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
