According to the nginx documentation, the proxy_cache_path directive has a parameter called keys_zone
. The documentation also refers a concept of "shared memory zone".
In addition, all active keys and information about data are stored in a shared memory zone, whose name and size are configured by the keys_zone parameter. One megabyte zone can store about 8 thousand keys.
Is the "shared memory zone" a general term? or a specific term used by nginx? What does the "shared" exactly mean?
A shared memory zone is a general term. Within the context of Nginx, a shared memory zone is defined so that worker processes can share stuff, for example, counters when you want to apply access limits.
In case you're not familiar with worker processes, check this image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With