LUNA Index Module v.5.38.1#
Changes#
-
Sections of the form
<service_name_HTTP_SETTINGS
have been added to the settings of the Indexer, Index Manager and Indexed Matcher services, containing settings responsible for processing HTTP connections.The following settings are available:
request_timeout
- the duration of time between the instant when a new open TCP connection is passed to the server. Value (in seconds) is integer number, default 60.response_timeout
- the duration of time between the instant the server passes the HTTP request to the app, and the instant a HTTP response is sent to the client. Value (in seconds) is integer number, default 600.request_max_size
- how big a request may be (bytes). Value (in bytes) is integer number, default 1gb.keep_alive_timeout
- http keep alive timeout. Value (in seconds) is integer number, default 15.
See the following link for details: https://sanic.dev/en/guide/deployment/configuration.html#builtin-values
-
New
socket_address
tag has been added to the index build series monitoring points. The tag contains a value in the format<host>:<port>
.This enables you to fix the server address for a particular instance of Indexed Matcher for monitoring.
-
New
duration
field has been added to index build series monitoring points with the stagesdrop_index
(removing the index from the Indexed Matcher memory) andload_index
(loading the index into the Indexed Matcher memory). This field indicates the duration of the corresponding stage. -
New resource "/indexes" has been added to the Indexed Matcher service, which enables you to get a set of indexes loaded into the service's memory. For each index, its meta information is output ("label", "index_id", "account_id", descriptor version, etc.).
-
New
FORMAT
setting has been added to all LIM services, which enables you to specify the logging format -default
(standard log output format) andjson
(json log output). -
Now if the index building process is interrupted due to lack of memory, the error 26109
Build process killed. It's probably due to running out of memory and the OS was triggering the OOM killer
will be displayed in the logs of the Indexer service. -
Indexed Matcher service now includes a check for the existence of a list upon launching, loading a new index into memory, and updating the index in memory. An index without an existing list will be removed from the service's memory.
-
Matching requests have been speeded up.
The speedup was achieved through internal optimizations and changing the response field result format. It used to be a list of the following
{"face_id": ..., "similarity": ...}
objects. The result is now a list of pairs, where the first element of the pair isface_id
and the second element issimilarity
.Note. This change requires a mandatory update of the Python Matcher Proxy service.
-
Sequence diagrams of the main processes of the LUNA Index Module have been added to the administrator manual.