# HG changeset patch # User Ruslan Ermilov # Date 1535658798 -10800 # Node ID 283b1e67eaa6f3ef743d14f46a5a24fe0e324c95 # Parent f134633cff5cdeed92d132e754abef970a8bdf4a Updated docs for the upcoming NGINX Plus release. diff --git a/xml/en/docs/http/ngx_http_keyval_module.xml b/xml/en/docs/http/ngx_http_keyval_module.xml --- a/xml/en/docs/http/ngx_http_keyval_module.xml +++ b/xml/en/docs/http/ngx_http_keyval_module.xml @@ -9,7 +9,7 @@ + rev="3">
@@ -79,7 +79,9 @@ specified by the zone zone=name:size - [state=file] + [state=file] + [timeout=time] + [sync] http @@ -90,12 +92,25 @@ Key-value pairs are managed by the API. - + The optional state parameter specifies a file that keeps the current state of the key-value database in the JSON format and makes it persistent across nginx restarts. + +The optional timeout parameter (1.15.0) sets +the time after which key-value pairs are removed from the zone. + + + +The optional sync parameter (1.15.0) enables +synchronization +of the shared memory zone. +The synchronization requires the +timeout parameter to be set. + +
diff --git a/xml/en/docs/http/ngx_http_limit_req_module.xml b/xml/en/docs/http/ngx_http_limit_req_module.xml --- a/xml/en/docs/http/ngx_http_limit_req_module.xml +++ b/xml/en/docs/http/ngx_http_limit_req_module.xml @@ -10,7 +10,7 @@ + rev="9">
@@ -163,7 +163,8 @@ Sets the status code to return in respon key zone=name:size - rate=rate + rate=rate + [sync] http @@ -213,6 +214,16 @@ it is specified in request per minute (r For example, half-request per second is 30r/m. + +The sync parameter (1.15.3) enables +synchronization +of the shared memory zone. + +The sync parameter is available as part of our +commercial subscription. + + +
diff --git a/xml/en/docs/http/ngx_http_status_module.xml b/xml/en/docs/http/ngx_http_status_module.xml --- a/xml/en/docs/http/ngx_http_status_module.xml +++ b/xml/en/docs/http/ngx_http_status_module.xml @@ -9,7 +9,7 @@ + rev="18">
@@ -17,16 +17,12 @@ The ngx_http_status_module module provides access to various status information. -This module was superseded by the +This module was available as part of our +commercial subscription +until 1.13.10. +It was superseded by the ngx_http_api_module module -in 1.13.0. - - - - - -This module is available as part of our -commercial subscription. +in 1.13.3. diff --git a/xml/en/docs/http/ngx_http_upstream_conf_module.xml b/xml/en/docs/http/ngx_http_upstream_conf_module.xml --- a/xml/en/docs/http/ngx_http_upstream_conf_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_conf_module.xml @@ -9,7 +9,7 @@ + rev="6">
@@ -23,14 +23,13 @@ or stream server group must reside in the shared memory. -This module was superseded by the +This module was available as part of our +commercial subscription +until 1.13.10. +It was superseded by the ngx_http_api_module module in 1.13.3. - -This module is available as part of our -commercial subscription. -
diff --git a/xml/en/docs/http/ngx_http_upstream_module.xml b/xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="76">
@@ -856,6 +856,19 @@ which passes a request to a server with the least number of active connections. + +The least_time method passes a request to a server +with the least average response time and least number of active connections. +If least_time=header is specified, the time to receive the +response header is used. +If least_time=last_byte is specified, the time to receive the +full response is used. + +The least_time method is available as a part of our +commercial subscription. + + + diff --git a/xml/en/docs/stream/ngx_stream_keyval_module.xml b/xml/en/docs/stream/ngx_stream_keyval_module.xml --- a/xml/en/docs/stream/ngx_stream_keyval_module.xml +++ b/xml/en/docs/stream/ngx_stream_keyval_module.xml @@ -9,7 +9,7 @@ + rev="3">
@@ -85,7 +85,9 @@ specified by the zone zone=name:size - [state=file] + [state=file] + [timeout=time] + [sync] stream @@ -96,12 +98,25 @@ Key-value pairs are managed by the API. - + The optional state parameter specifies a file that keeps the current state of the key-value database in the JSON format and makes it persistent across nginx restarts. + +The optional timeout parameter (1.15.0) sets +the time after which key-value pairs are removed from the zone. + + + +The optional sync parameter (1.15.0) enables +synchronization +of the shared memory zone. +The synchronization requires the +timeout parameter to be set. + +
diff --git a/xml/en/docs/stream/ngx_stream_upstream_module.xml b/xml/en/docs/stream/ngx_stream_upstream_module.xml --- a/xml/en/docs/stream/ngx_stream_upstream_module.xml +++ b/xml/en/docs/stream/ngx_stream_upstream_module.xml @@ -9,7 +9,7 @@ + rev="32">
@@ -525,6 +525,25 @@ which passes a connection to a server with the least number of active connections. + +The least_time method passes a connection to a server +with the least average time and least number of active connections. +If least_time=connect parameter is specified, +time to +connect +to the upstream server is used. +If least_time=first_byte parameter is specified, +time to receive the +first byte of data is used. +If least_time=last_byte is specified, +time to receive the +last byte of data is used. + +The least_time method is available as a part of our +commercial subscription. + + +
diff --git a/xml/en/docs/stream/ngx_stream_zone_sync_module.xml b/xml/en/docs/stream/ngx_stream_zone_sync_module.xml --- a/xml/en/docs/stream/ngx_stream_zone_sync_module.xml +++ b/xml/en/docs/stream/ngx_stream_zone_sync_module.xml @@ -9,7 +9,7 @@ + rev="3">
@@ -20,9 +20,13 @@ provides the necessary support for synch between nodes of a cluster. To enable synchronization for a particular zone, a corresponding module must support this feature. -Currently, it is possible to synchronize +Currently, it is possible to synchronize HTTP sticky -sessions. +sessions, information about +excessive HTTP requests, +and key-value pairs both in +http +and stream. diff --git a/xml/ru/docs/http/ngx_http_limit_req_module.xml b/xml/ru/docs/http/ngx_http_limit_req_module.xml --- a/xml/ru/docs/http/ngx_http_limit_req_module.xml +++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml @@ -10,7 +10,7 @@ + rev="9">
@@ -160,7 +160,8 @@ server { ключ zone=название:размер - rate=скорость + rate=скорость + [sync] http @@ -210,6 +211,16 @@ 64 байтам на 32-битных платформах и 128 байтам на 64-битных платформах. ползапроса в секунду — это 30r/m. + +Параметр sync (1.15.3) разрешает +синхронизацию +данной зоны разделяемой памяти. + +Параметр sync доступен как часть +коммерческой подписки. + + +
diff --git a/xml/ru/docs/http/ngx_http_status_module.xml b/xml/ru/docs/http/ngx_http_status_module.xml --- a/xml/ru/docs/http/ngx_http_status_module.xml +++ b/xml/ru/docs/http/ngx_http_status_module.xml @@ -9,7 +9,7 @@ + rev="18">
@@ -17,16 +17,12 @@ Модуль ngx_http_status_module предоставляет доступ к информации о состоянии сервера. -Этот модуль был заменён модулем +Этот модуль был доступен как часть +коммерческой подписки +до версии 1.13.10. +Модуль был заменён модулем ngx_http_api_module -в версии 1.13.0. - - - - - -Модуль доступен как часть -коммерческой подписки. +в версии 1.13.3. diff --git a/xml/ru/docs/http/ngx_http_upstream_conf_module.xml b/xml/ru/docs/http/ngx_http_upstream_conf_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_conf_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_conf_module.xml @@ -9,7 +9,7 @@ + rev="6">
@@ -23,14 +23,13 @@ stream должна находиться в разделяемой памяти. -Этот модуль был заменён модулем +Этот модуль был доступен как часть +коммерческой подписки +до версии 1.13.10. +Модуль был заменён модулем ngx_http_api_module в версии 1.13.3. - -Модуль доступен как часть -коммерческой подписки. -
diff --git a/xml/ru/docs/http/ngx_http_upstream_module.xml b/xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="76">
@@ -864,6 +864,19 @@ server { с наименьшим количеством активных соединений. + +Если указан метод least_time, то запрос передаётся серверу +с наименьшими средним временем ответа и числом активных соединений. +Если указан least_time=header, то учитывается +время получения заголовка ответа. +Если указан least_time=last_byte, то учитывается +время получения всего ответа. + +Метод least_time доступен как часть +коммерческой подписки. + + + diff --git a/xml/ru/docs/stream/ngx_stream_upstream_module.xml b/xml/ru/docs/stream/ngx_stream_upstream_module.xml --- a/xml/ru/docs/stream/ngx_stream_upstream_module.xml +++ b/xml/ru/docs/stream/ngx_stream_upstream_module.xml @@ -9,7 +9,7 @@ + rev="32">
@@ -483,7 +483,7 @@ hash $remote_addr; первого байта данных. Если указан параметр last_byte, то учитывается время получения -ответа. +последнего байта данных. Если указан параметр inflight (1.11.6), то также учитываются незавершённые соединения. @@ -525,6 +525,25 @@ hash $remote_addr; с наименьшим количеством активных соединений. + +Если указан метод least_time, то соединение передаётся +серверу +с наименьшими средним временем ответа и числом активных соединений. +Если указан least_time=connect, +то учитывается время +соединения с сервером группы. +Если указан least_time=first_byte, +то учитывается время получения +первого байта данных. +Если указан least_time=last_byte, +то учитывается время получения +последнего байта данных. + +Метод least_time доступен как часть +коммерческой подписки. + + +