Sign up for Hasura Newsletter

High Availability

The GraphQL API served by Hasura should be continously operational and any single points of failure should be eliminated for a reliable application infrastructure. Fundamentally there are two aspects to the GraphQL API being consumed; availability of Postgres database and availability of Hasura.

PostgreSQL HA

Postgres offers various solutions for configuring a highly available system. Most managed Postgres providers have a HA system for Postgres, which when configured, 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 ensure automated failover.

There is no configuration required at the Hasura project level.

Hasura HA

Multiple instances of Hasura can be run with the open source graphql-engine. In Hasura Cloud, the process of automatically scaling and the infrastructure required to run this is taken care without any requirement of manual intervention.

Also with multiple instances of Hasura connected to the same database, the typical worries of event triggers duplicating events or subscriptions being reliable are taken care of.

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
© 2022 Hasura Inc. All rights reserved