<div dir="ltr">what is the operating system?<div><br></div><div>what do you mean tweaked(details pls.)?</div><div><br></div><div>regards,</div><div>lix</div><div><br><br><div class="gmail_quote">On Fri, Aug 8, 2008 at 7:01 AM, Kon Wilms <span dir="ltr">&lt;<a href="mailto:konfoo@gmail.com">konfoo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Thu, Aug 7, 2008 at 11:03 AM, Chavelle Vincent &lt;<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>&gt; wrote:<br>

&gt; Kon Wilms wrote:<br>
&gt;&gt; I have a pool of memcached servers running on localhost with<br>
&gt;&gt; connection to nginx, feeding motion jpeg data out via static JPEGs to<br>
&gt;&gt; a flash application. The load is pretty high on the server because of<br>
&gt;&gt; this with each client running 3 GETs from memcached every second (i.e.<br>
&gt;&gt; 3fps).<br>
&gt;&gt; Cheers<br>
&gt;&gt; Kon<br>
&gt;<br>
&gt; How do you think about use ncache module instead of memcached ? I&#39;m<br>
&gt; definitly not an expert but when I read your post, it&#39;s the idea that I<br>
&gt; have had.<br>
<br>
>From what I read ncache works by caching items from disk into memory.<br>
The problem I have is that the media is changing every 250ms.<br>
<br>
Anyway an update, I have tweaked the kernel IPV4 parameters and even<br>
though I have at times 23,000 TIME_WAITs, they are now being recycled.<br>
The server is sustaining about 50Mbits of traffic going through<br>
memcached-&gt;nginx. My connection count hovers around 220 when using<br>
nginx_stats module. Is this the norm? I am wondering if I have an<br>
artificial bottleneck somewhere?<br>
<br>
Looking more into the unix domain sockets I am not sure if this would<br>
be the most pertinent solution to the problem. I noticed there was<br>
some talk on persistent connections to upstream servers -- is this<br>
planned for memcached (I am using this model on the app server side to<br>
feed memcached and it is working great)?<br>
<br>
Cheers<br>
<font color="#888888">Kon<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>the sun shines for all<br>
</div></div>