Sequence diagrams#
This section provides sequence diagrams for the main operations of LVSM.
Descriptor matching diagram#
The requests processing scheme:
1․ The user sends a matching request to the API service.
2․ The API service receives the request, processes it, and sends it to the Python Matcher Proxy service.
3․ Python Matcher Proxy calculates the request complexity via a plugin based on the conditions and payload from the metadata.
4․ Python Matcher Proxy sends the matching request to the Qdrant database.
5․ The Qdrant database performs the matching operation.
6․ The Qdrant database returns the matching results to the Python Matcher Proxy.
7․ Python Matcher Proxy passes the results to the API service.
8․ The API service returns the final results to the user.
Descriptor updating diagram#
The requests processing scheme:
1․ LUNA Vector Search Module requests metainformation about collections from the Qdrant database.
2․ The Qdrant database returns the requested metainformation.
3․ LUNA Vector Search Module sends a query to the Events database to retrieve new or updated descriptors.
4․ The Events database retrieves the current descriptors.
5․ LUNA Vector Search Module updates the descriptors in the Qdrant database.
6․ The Qdrant database returns confirmation of the successful update of the descriptors.
7․ LUNA Vector Search Module updates the metainformation about collections in the Qdrant database.
8․ The Qdrant database returns confirmation of the successful update of the metainformation.
9․ Python Matcher Proxy requests up-to-date metadata about collections from the Qdrant database.
10․ The Qdrant database returns up-to-date metadata about collections to Python Matcher Proxy.