how to keep "hot" files in memory?
zhang.libing at gmail.com
Fri Aug 31 01:41:58 UTC 2012
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 at netdna.com> wrote:
> Check out memcached module for nginx.
> http://wiki.nginx.org/HttpMemcachedModule. It required you to install
> memcached however.
> On Thu, Aug 30, 2012 at 5:49 PM, Roast <zhang.libing at gmail.com> wrote:
>> But it seems open_file_cache not cache the content of the file, am I
>> On Thu, Aug 30, 2012 at 5:16 PM, nfn <nginx-forum at nginx.us> wrote:
>>> You could try open_file_cache
>>> Best regards
>>> Posted at Nginx Forum:
>>> nginx mailing list
>>> nginx at nginx.org
>> The time you enjoy wasting is not wasted time!
>> nginx mailing list
>> nginx at nginx.org
> nginx mailing list
> nginx at nginx.org
The time you enjoy wasting is not wasted time!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx