<div dir="ltr">Do the test.I find use gzip is the same as not in nginx.<br><br><div class="gmail_quote">2008/8/15 iDEV d. o. o. <span dir="ltr">&lt;<a href="mailto:info@idev.si">info@idev.si</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m not sure if apache compresses images, but it is possible. And nginx<br>
does not compresses content by default.<br>
Maybe there&#39;s the diffrence.<br>
<div><div></div><div class="Wj3C7c"><br>
On Fri, 15 Aug 2008 09:56:06 +0800, walt &lt;<a href="mailto:weichenqi@gmail.com">weichenqi@gmail.com</a>&gt; wrote:<br>
&gt; I use httpwatch to test a same image in apache and nginx.The result is<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;size<br>
&gt; apache &nbsp; &nbsp; 457<br>
&gt; nginx &nbsp; &nbsp; &nbsp; &nbsp;699<br>
&gt; I think that is where the question arises.<br>
&gt;<br>
&gt; 2008/8/15 iDEV d. o. o. &lt;<a href="mailto:info@idev.si">info@idev.si</a>&gt;<br>
&gt;<br>
&gt;&gt; Maybe apache handled only 4MBps of traffic and nginx can handle much<br>
&gt; more?<br>
&gt;&gt;<br>
&gt;&gt; On Fri, 15 Aug 2008 09:06:38 +0800, &quot;cq wei&quot; &lt;<a href="mailto:weichenqi@gmail.com">weichenqi@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt; &gt; ok<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2008/8/15 Igor Clark &lt;<a href="mailto:igor@pokelondon.com">igor@pokelondon.com</a>&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; Perhaps you could post the config file?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 14 Aug 2008, at 15:49, cq wei wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I am sure,others have asked me the same question.So,I think that the<br>
&gt;&gt; &gt;&gt; problem is in config file.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 2008/8/14 Aleksandar Lazic &lt;<a href="mailto:al-nginx@none.at">al-nginx@none.at</a>&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Hi cq wei,<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On Don 14.08.2008 15:28, cq wei wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; hello,i am a linux system administrator ,and i have problem now,the<br>
&gt;&gt; &gt;&gt;&gt;&gt; nginx as picture server,the bandwidth is higher than apache in the<br>
&gt;&gt; &gt; same<br>
&gt;&gt; &gt;&gt;&gt;&gt; condition.For example,established connections is 3000,apache&#39;s<br>
&gt;&gt; &gt;&gt;&gt;&gt; bandwidth is about 4MB,but the nginx is about 7MB,i am sure the two<br>
&gt;&gt; &gt;&gt;&gt;&gt; servers run the same services,and in the same datacenter .what<br>
&gt; should<br>
&gt;&gt; &gt; i<br>
&gt;&gt; &gt;&gt;&gt;&gt; do,maybe i should modify config files,but i don&#39;t know what should<br>
&gt; i<br>
&gt;&gt; &gt;&gt;&gt;&gt; do.Could you help me,thanks!<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Does you mean that with 3000 R/s you deliver 4MB with Apache and 7MB<br>
&gt;&gt; &gt;&gt;&gt; with nginx?<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Are you sure that the requests are the same, the data which are<br>
&gt;&gt; &gt; deliverd<br>
&gt;&gt; &gt;&gt;&gt; and the r/s also?<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; BR<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Aleks<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20<br>
&gt;&gt; &gt; 7749 5355 •<br>
&gt;&gt; &gt;&gt; <a href="http://www.pokelondon.com" target="_blank">www.pokelondon.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; iDEV, podjetje za spletne storitve, d.o.o.<br>
&gt;&gt; Tomaž Marhat, CEO<br>
&gt;&gt; Brda 15A<br>
&gt;&gt; SI-2383 � martno pri Slovenj Gradcu<br>
&gt;&gt; SLOVENIA - EU<br>
&gt;&gt;<br>
&gt;&gt; Web: <a href="http://idev.si/" target="_blank">http://idev.si/</a><br>
&gt;&gt; VAT #: SI43028195<br>
&gt;&gt; Company ID #: 2346265<br>
&gt;&gt; Mobile #: +386 70 819 789<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; bMail.si - Storitev portala <a href="http://mojblink.com" target="_blank">mojblink.com</a> (avtor: iDEV d.o.o.)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div>--<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
--<br>
bMail.si - Storitev portala <a href="http://mojblink.com" target="_blank">mojblink.com</a> (avtor: iDEV d.o.o.)<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>