<div dir="ltr">+1 point for such QOS <br><br><div class="gmail_quote">2008/8/1 Tit Petric <span dir="ltr"><<a href="mailto:black@scene-si.org">black@scene-si.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Request scheduling as in queuing with priority, QoS?<br>
<br>
Meaning, one or more location should have a higher priority in<br>
completing the request, by going into the front of the queue?<br>
<br>
For example, you have 1000 requests per second, and 10 of them are for<br>
the location /realtime.jpg, and you want those requests to jump in front<br>
of the queue and return the responses ASAP?<br>
<div><div></div><div class="Wj3C7c"><br>
Chancey wrote:<br>
> nginx is great ! but it has only one mode and one request scheduling<br>
> in Load balance.<br>
> if it has more options in load balance. it will be perfect<br>
> 2008-08-01<br>
> ------------------------------------------------------------------------<br>
> Chancey<br>
> ------------------------------------------------------------------------<br>
> *发件人:* Igor Sysoev<br>
> *发送时间:* 2008-08-01 13:49:26<br>
> *收件人:* <a href="mailto:nginx@sysoev.ru">nginx@sysoev.ru</a><br>
> *抄送:*<br>
> *主题:* Re: Memcached module -- unix domain socket support? (too many<br>
> TIME_WAITs..)<br>
> On Thu, Jul 31, 2008 at 09:54:03PM -0700, 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>
> ><br>
> > Nginx works fine, however, the problem I have is that thousands of<br>
> > TIME_WAITs are created from the memcached GET requests, which I would<br>
> > like to eliminate. I've already tuned the kernel but this has not<br>
> > reduced it enough to handle a couple thousand viewers on the server.<br>
> ><br>
> > Is there any way to connect nginx's memcached module to memcached via<br>
> > unix domain socket or perhaps UDP, or any other ideas on how to fix<br>
> > this problem?<br>
> Adding unix socket support to ngx_http_memcached_module should be easy,<br>
> but I'm not sure if memcached suppot unix sockets.<br>
> BTW why do you serve local images from memcached ?<br>
> It's better for both CPU and memory to serve them from local filesystem<br>
> using sendfile.<br>
> --<br>
> Igor Sysoev<br>
> <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</div></div></blockquote></div><br></div>