You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Current state: Under Discussion

ISSUE: https://github.com/milvus-io/milvus/issues/7700

PRs: 

Keywords: Restful API

Released:

Summary(required)

Implement a http server on proxy module, serves http request and convert to same request type as grpc request.

Motivation(required)

Milvus 1.1 used to support restful API, we've also seen many other search engines such as elastic search and solr supports both http and rpc requests. It would be much easier for applications written in language such as PHP and rust to use http to utilize milvus.

Public Interfaces(optional)

TODO: translate GRPC interface in RESTful API.

(see https://github.com/milvus-io/milvus/blob/master/internal/proto/milvus.proto)

Design Details(required)

Add a http server on proxy module. 

The HTTP API should be designed by RESTful Principles and should implement all the methods that GRPC interface supports.

When http server receives a request, it converts the request to corresponding GRPC request, and then reuse the GRPC handling procedure to finish serving the request.

Test Plan(required)

Test interfaces with http client.

Rejected Alternatives(optional)

References(optional)

  • No labels