<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"><<a href="mailto:konfoo@gmail.com">konfoo@gmail.com</a>></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 <<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>> wrote:<br>
> Kon Wilms wrote:<br>
>> I have a pool of memcached servers running on localhost with<br>
>> connection to nginx, feeding motion jpeg data out via static JPEGs to<br>
>> a flash application. The load is pretty high on the server because of<br>
>> this with each client running 3 GETs from memcached every second (i.e.<br>
>> 3fps).<br>
>> Cheers<br>
>> Kon<br>
><br>
> How do you think about use ncache module instead of memcached ? I'm<br>
> definitly not an expert but when I read your post, it's the idea that I<br>
> 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->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>