GRPC vs REST comparision

hello there. I am new to this forum, i have a qq. What is the typical reqest to response time of milvus in k8 restapi based service ? also has there been any grpc vs restapi comparision for milvus?

2 Likes

I am assuming you are asking about Milvus 1.x since REST has not been implemented in Milvus 2.0 yet.
I have not tested this personally. However, gRPC is believed to be ~one magnitude faster than REST in most cases due to it’s use of protobuf and the Http/2 protocol.

If you have a relatively large amount of data, this difference is negligible since the bottleneck will be the Milvus computation time.