v.0.3.0¶
Improvements:¶
[LUNA-5988] A format of a response field result was change. It was a list following objects {“face_id”: …, “similarity”: …} before. The result is list of pair now, first element of pair is a face id, second element is similarity. This change speed up a matching request.
Warning
This change requires update plugin into the Luna-Python-Matcher-Proxy.
[LUNA-5988] Speed up a matching request. The improvement was achieved through some internal refactoring.
[LUNA-6119] A field duration was added to monitoring point of series index_processing with stages ‘drop_index` and load_index. This field means a duration corresponding stage.
[LUNA-6133] Added check for the existence of the list during start, loading a new index and updating the index. An index without an existing list is removed
[LUNA-6146] If index build process being killed due to it running out of memory, certain error is set by indexer.
[LUNA-6166] Setting format was added to all matcher services logging settings. Possible values are “default” - standard logs formatting or “json” - for json formatted logs
[LUNA-6167] The /indexes resource was added to check indexes loaded into matcher memory.
[LUNA-6168] The socket_address tag with value in the format <host>:<port> was added into Indexed Matcher monitoring points.
[LUNA-6171] Config sections ‘LIM_INDEXER_HTTP_SETTINGS’, ‘LIM_MANAGER_HTTP_SETTINGS’ and ‘LIM_MATCHER_HTTP_SETTINGS’ was added. These sections contains several settings which are responsible for process http connections. Available following settings now:
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.
More detail see here.
[LUNA-6180] Internal optimization was implemented to synchronize LIM Matcher in-memory index labels with Redis keys.
Bugs fixed:¶
[LUNA-6133] Index refresh error message is properly shows list id.
Migration:¶
See a migration manual.