Thanks.
Memcached module is a better solution, it will reduce much disk IO.
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?
And I think, maybe we need a moudle to solve this problem?
On Fri, Aug 31, 2012 at 9:15 AM, Don Zhou <dzhou@netdna.com> wrote:
> Check out memcached module for nginx.
> http://wiki.nginx.org/HttpMemcachedModule. It required you to install
> memcached however.
>
> Regards
>
>
> On Thu, Aug 30, 2012 at 5:49 PM, Roast <zhang.libing@gmail.com> wrote:
>
>> Thanks.
>>
>> But it seems open_file_cache not cache the content of the file, am I
>> right?
>>
>>
>> On Thu, Aug 30, 2012 at 5:16 PM, nfn <nginx-forum@nginx.us> wrote:
>>
>>> Hello,
>>>
>>> You could try open_file_cache
>>>
>>> http://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache
>>>
>>> Best regards
>>>
>>> Posted at Nginx Forum:
>>> http://forum.nginx.org/read.php?2,230263,230317#msg-230317
>>>
>>> _______________________________________________
>>> nginx mailing list
>>> nginx@nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>
>>
>>
>>
>> --
>> The time you enjoy wasting is not wasted time!
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
The time you enjoy wasting is not wasted time!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx