comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 2069:fc3ba2e76974

Documented size of keys_zone for commercial version (trac #1286).
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 26 Oct 2017 15:50:00 +0300
parents a108f1ff1690
children a9a9a052b5bd
comparison
equal deleted inserted replaced
2068:3d9e7993c201 2069:fc3ba2e76974
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_proxy_module" 10 <module name="Module ngx_http_proxy_module"
11 link="/en/docs/http/ngx_http_proxy_module.html" 11 link="/en/docs/http/ngx_http_proxy_module.html"
12 lang="en" 12 lang="en"
13 rev="62"> 13 rev="63">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_proxy_module</literal> module allows passing 18 The <literal>ngx_http_proxy_module</literal> module allows passing
452 <para> 452 <para>
453 In addition, all active keys and information about data are stored 453 In addition, all active keys and information about data are stored
454 in a shared memory zone, whose <value>name</value> and <value>size</value> 454 in a shared memory zone, whose <value>name</value> and <value>size</value>
455 are configured by the <literal>keys_zone</literal> parameter. 455 are configured by the <literal>keys_zone</literal> parameter.
456 One megabyte zone can store about 8 thousand keys. 456 One megabyte zone can store about 8 thousand keys.
457 <note>
458 As part of
459 <commercial_version>commercial subscription</commercial_version>,
460 the shared memory zone also stores extended
461 cache <link doc="ngx_http_api_module.xml" id="http_caches_">information</link>,
462 thus, it is required to specify a larger zone size for the same number of keys.
463 For example,
464 one megabyte zone can store about 4 thousand keys.
465 </note>
457 </para> 466 </para>
458 467
459 <para> 468 <para>
460 Cached data that are not accessed during the time specified by the 469 Cached data that are not accessed during the time specified by the
461 <literal>inactive</literal> parameter get removed from the cache 470 <literal>inactive</literal> parameter get removed from the cache