semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Suggestion: It is recommended to use Grpc to implement Connectors.Memory.Qdrant, QdrantMemoryStore and QdrantVectorDbClient in order to improve the accessibility performance of Qdrant.

Open AwesomeYuer opened this issue 2 years ago • 2 comments

To improve the accessibility performance of Qdrant, it is recommended to use Grpc for implementing Connectors.Memory.Qdrant, QdrantMemoryStore, and QdrantVectorDbClient. I have observed that httpclient becomes slow when the request contains multiple vectors with 1536 dimensions.

I would like to know if the httpclient in SK qdrant connector supports gzip while sending a request (not response). For your reference, I have provided a simple search sample below:

https://github.com/AwesomeYuer/VectorDataBases.Performance/blob/54d388f4465361231ad44477da18eb65e02deff6/VectorDataBases.Performance/TestContext.cs#L327

original proto file, need modify for .NET/C# in above sample: https://github.com/qdrant/go-client/tree/master/proto

BTW: Although gRPC support has not been officially released, most other programming languages already support it.

https://github.com/qdrant/qdrant/blob/master/QUICK_START_GRPC.md

Quick Start with Qdrant using GRPC DISCLAIMER: The GRPC API for Qdrant are under development and disabled by default in production builds. Limited functionality is exposed at the moment. This draft tutorial is for testing and internal use only.

AwesomeYuer avatar May 03 '23 18:05 AwesomeYuer

@AwesomeYuer once the gRPC is GA we will take a look. Thanks for bringing this up!

evchaki avatar May 04 '23 20:05 evchaki

grpc client https://github.com/russcam/qdrant-dotnet-client

geffzhang avatar May 13 '23 01:05 geffzhang

All .Net issues prior to 1-Dec-2023 are being closed. Please re-open, if this issue is still relevant to the .Net Semantic Kernel 1.x release. In the future all issues that are inactive for more than 90 days will be labelled as 'stale' and closed 14 days later.

markwallace-microsoft avatar Mar 12 '24 16:03 markwallace-microsoft