Thanks.<br><br>Memcached module is a better solution, it will reduce much disk IO.<br><br>But it seems not high efficiency, we just want keep hot file in shared memory at millions of static file. But the cache algorithms of memcached is LRU, so without big memory the cache will be set and then will be delete frequently. Am I right?<br>
<br>And I think, maybe we need a moudle to solve this problem?<br><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 9:15 AM, Don Zhou <span dir="ltr"><<a href="mailto:dzhou@netdna.com" target="_blank">dzhou@netdna.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Check out memcached module for nginx. <a href="http://wiki.nginx.org/HttpMemcachedModule" target="_blank">http://wiki.nginx.org/HttpMemcachedModule</a>. It required you to install memcached however.<div>
<br></div><div>Regards<div><div class="h5"><br><br><div class="gmail_quote">
On Thu, Aug 30, 2012 at 5:49 PM, Roast <span dir="ltr"><<a href="mailto:zhang.libing@gmail.com" target="_blank">zhang.libing@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks.<br><br>But it seems open_file_cache not cache the content of the file, am I right?<div><div><br><br><div class="gmail_quote">On Thu, Aug 30, 2012 at 5:16 PM, nfn <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
You could try open_file_cache<br>
<br>
<a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache" target="_blank">http://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache</a><br>
<br>
Best regards<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,230263,230317#msg-230317" target="_blank">http://forum.nginx.org/read.php?2,230263,230317#msg-230317</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br>The time you enjoy wasting is not wasted time!<br>
</font></span><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><br>-- <br>The time you enjoy wasting is not wasted time!<br>