Skip to content

Make Harness work with load balancer #129

@pferrel

Description

@pferrel

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 sync REST API, which tells Harness to re-sync with the metastore
  • sync sent to all harness servers when:
    • any server executes harness add, harness update, harness delete, or ???

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions