Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: add a new "http" metadata protocol #29

Open
doujiang24 opened this issue Dec 10, 2024 · 1 comment · May be fixed by #37
Open

proposal: add a new "http" metadata protocol #29

doujiang24 opened this issue Dec 10, 2024 · 1 comment · May be fixed by #37

Comments

@doujiang24
Copy link
Contributor

Glad to see #21 start to support multiple metadata servers.

Now, only etcd and redis are supported. I'm here to proposal a new "http" metadata type, benifits:

  1. http metadata server are easy to deploy and scale.
  2. the http metadata server could expose more APIs for system operator know/manage the system better.

Design:
The http server provide three restful APIs:

  1. GET $metadata_uri?key=$key
  2. PUT $$metadata_uri?key=$key, with json body
  3. DELETE $metadata_uri?key=$key

If this does make sense, I'd like to have a try, thanks.

@alogfans
Copy link
Collaborator

Good idea! I think inheriting TransferMetadataImpl in mooncake-transfer-engine/src/transfer_metadata.cpp is enough :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants