apache / amoro

Apache Amoro (incubating) is a Lakehouse management system built on open data lake formats.
https://amoro.apache.org/
Apache License 2.0
847 stars 278 forks source link

[Feature]: Support multi-instance AMS REST service #2810

Open link3280 opened 5 months ago

link3280 commented 5 months ago

Description

Currently, only the leader AMS would provide REST service. When an AMS leader transition happens, the standby AMS would take 30+ seconds to initialize optimizing, after which the REST service is available. That affects the availability of the REST service.

I proposed to make the REST service independent of the leadership. That's to say, the stand-by AMS instances need to initialize and run REST service on start. Their only difference to a leader instance is no optimizing service.

Use case/motivation

No response

Describe the solution

I drew a diagram of the main modules in AMS.

amoro-follower-rest (1)

Subtasks

No response

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

baiyangtx commented 3 months ago

Are you still working on this? I'm interesting in this too. @link3280

link3280 commented 3 months ago

Are you still working on this? I'm interesting in this too. @link3280

I'm reconsidering the proposal since @majin1102 plans to support multi-instance AMS. We could align the efforts to avoid duplicate work. What do you think? @baiyangtx

baiyangtx commented 3 months ago

I started a discussion and provided a design. #2997

You are welcome to participate in the discussion. @link3280 @majin1102

czy006 commented 1 month ago

+1 We also need this part, design can be completed together will reduce duplication of work