Hello!

On Tue, Apr 24, 2018 at 01:06:48PM -0400, c0nw0nk wrote:

> As it says on the Nginx docs for limit_req
> 
> One megabyte zone can keep about 16 thousand 64-byte states or about 8
> thousand 128-byte states. 
> 
> 
> What can a 100m zone for the fastcgi_cache store ?
> 
> depending on the length of the fastcgi_cache_key and how many variables that
> contains i am sure could affect it but be nice to have a example for better
> understanding of how many file paths are expected to be in the 100mb zone.

Quoting http://nginx.org/r/fastcgi_cache_path:

: One megabyte zone can store about 8 thousand keys.

It does not depend on the length of fastcgi_cache_key or anything 
else, as only md5 of the key is stored in memory.

-- 
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to