comparison xml/en/docs/hash.xml @ 300:a1071d0d0979

Slight markup and wording fixes.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 29 Dec 2011 09:10:30 +0000
parents abb48e50ff7f
children be54c443235a
comparison
equal deleted inserted replaced
299:2f318fe954ec 300:a1071d0d0979
6 6
7 <section> 7 <section>
8 8
9 <para> 9 <para>
10 To quickly process static sets of data such as server names, 10 To quickly process static sets of data such as server names,
11 map directive's values, mime-types, names of request header strings, 11 <link doc="http/ngx_http_map_module.xml" id="map"/> directive's values,
12 MIME types, names of request header strings,
12 nginx uses hash tables. 13 nginx uses hash tables.
13 During the start and each re-configuration nginx picks out 14 During the start and each re-configuration nginx selects the
14 minimally possible sizes of hash tables such that the bucket size 15 minimum possible sizes of hash tables such that the bucket size
15 that stores keys with identical hash values does not exceed the 16 that stores keys with identical hash values does not exceed the
16 configured parameter (hash bucket size). 17 configured parameter (hash bucket size).
17 The size of the table is expressed in buckets. 18 The size of a table is expressed in buckets.
18 The adjustment is continued until the table size exceeds the 19 The adjustment is continued until the table size exceeds the
19 hash max size parameter. 20 hash max size parameter.
20 Most hashes have the corresponding directives that allow to change 21 Most hashes have the corresponding directives that allow to change
21 these parameters, for example, for the server names hash they are 22 these parameters, for example, for the server names hash they are
22 <link doc="http/ngx_http_core_module.xml" id="server_names_hash_max_size"/> 23 <link doc="http/ngx_http_core_module.xml" id="server_names_hash_max_size"/>