-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Milestone
Description
Synchronize Harness server means that all must know when one has updated the metastore. I think this means minimally:
- one Harness server needs to know all others. maybe by one being the temp master who maintains the db of all others? Is there a simpler way? Like using Etcd or Consul?
- load balancing handled by Kubernetes or regular load balancer but sync handled by the Harness cluster
- Harness could have a
syncREST API, which tells Harness to re-sync with the metastore syncsent to all harness servers when:- any server executes
harness add,harness update,harness delete, or ???
- any server executes
Not sure of what else should be done. Any cluster of Harness needs to keep track if all others so probably a master voting structure like ES, where one keeps the DB of all other server, and if the master is not available another is voted to take over.
This seems pretty complicated so is there an easier solution?
Are there signaling DBs that will notify listeners when something changes?