Mercurial > hg > nginx-site
changeset 300:a1071d0d0979
Slight markup and wording fixes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 29 Dec 2011 09:10:30 +0000 |
parents | 2f318fe954ec |
children | ced6daa61e83 |
files | xml/en/docs/hash.xml xml/ru/docs/hash.xml |
diffstat | 2 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/hash.xml Thu Dec 29 07:57:44 2011 +0000 +++ b/xml/en/docs/hash.xml Thu Dec 29 09:10:30 2011 +0000 @@ -8,13 +8,14 @@ <para> To quickly process static sets of data such as server names, -map directive's values, mime-types, names of request header strings, +<link doc="http/ngx_http_map_module.xml" id="map"/> directive's values, +MIME types, names of request header strings, nginx uses hash tables. -During the start and each re-configuration nginx picks out -minimally possible sizes of hash tables such that the bucket size +During the start and each re-configuration nginx selects the +minimum possible sizes of hash tables such that the bucket size that stores keys with identical hash values does not exceed the configured parameter (hash bucket size). -The size of the table is expressed in buckets. +The size of a table is expressed in buckets. The adjustment is continued until the table size exceeds the hash max size parameter. Most hashes have the corresponding directives that allow to change
--- a/xml/ru/docs/hash.xml Thu Dec 29 07:57:44 2011 +0000 +++ b/xml/ru/docs/hash.xml Thu Dec 29 09:10:30 2011 +0000 @@ -8,7 +8,8 @@ <para> Для быстрой обработки статических наборов данных, таких как имена серверов, -значения директивы map, mime-types, имена строк заголовков запроса, +значения директивы <link doc="http/ngx_http_map_module.xml" id="map"/>, +MIME-типы, имена полей заголовков запросов, nginx использует хэш-таблицы. Во время старта и при каждой переконфигурации nginx подбирает минимально возможный размер хэш-таблиц с учётом того, чтобы размер корзины,