High Availability

The GraphQL API served by Hasura should be continuously operational, so we should remove any single point of failure for reliable application infrastructure. Fundamentally there are two aspects to the GraphQL API being consumed - the availability of the Postgres database and the availability of Hasura.

PostgreSQL HA

Postgres offers various solutions for configuring a highly available system. Most managed Postgres providers have a HA system that will automatically failover to standby Postgres. With Heroku, here's how we can set up a replication to ensure there is a Hot standby server to provide automated failover.

There is no configuration required at the Hasura project level.

Hasura HA

You can run multiple instances of Hasura with the open-source graphql-engine. In Hasura Cloud, the process of automatically scaling and the infrastructure required is taken care of without requiring manual intervention.

Did you find this page helpful?
Start with GraphQL on Hasura for Free
  • ArrowBuild apps and APIs 10x faster
  • ArrowBuilt-in authorization and caching
  • Arrow8x more performant than hand-rolled APIs
footer illustration
Brand logo
© 2024 Hasura Inc. All rights reserved