Performance

In this section, we will look at optimizing Hasura for performance. The bottleneck can happen either at the database level or the infrastructure level.

We have complete control over what we can optimize if it's at the database level. If it's at the infrastructure level, Hasura Cloud takes care of the infrastructure optimizations required for the app to run smoothly.

We will look into performance optimizations through the following:

  • Query Caching and Response Caching
  • Scaling Postgres with Read Replicas
  • Scaling Hasura
  • Postgres Indexes using Explain / Analyze
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
Promo
footer illustration
Brand logo
© 2024 Hasura Inc. All rights reserved
Github
Titter
Discord
Facebook
Instagram
Youtube
Linkedin
graphql-handbook