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

CHT has high availability through failover #116

Open
2 of 5 tasks
garethbowen opened this issue Jun 20, 2023 · 0 comments
Open
2 of 5 tasks

CHT has high availability through failover #116

garethbowen opened this issue Jun 20, 2023 · 0 comments

Comments

@garethbowen
Copy link

garethbowen commented Jun 20, 2023

Key Results

  • Proof of concept failover in AWS test instance complete and communicated
  • CHT instance is still available during a datacentre outage

Initiatives

For ultimate availability we need to support automatic failover so if one server becomes unavailable another one can take over immediately. Once the prerequisite is complete the database layer will already have automatic failover if replicas are stored in separate locations. However we still need to support failover for most of the API service to get traffic to the db.

Aspects to consider

  • This should be a hot swap so all instances are serving traffic, and when one goes down the traffic automatically goes to the other
  • Sentinel may need to be run on only one instance
  • Check for state stored in API, eg: caches
  • Work out how to do singleton tasks (eg: generate forms) only once to avoid conflict
  • Work out orchestration
  • Work out load balancing
@garethbowen garethbowen changed the title Automatic failover High availability through failover Jun 29, 2023
@Reagan Reagan changed the title High availability through failover CHT has high availability through failover Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant