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
- Build apps and APIs 10x faster
- Built-in authorization and caching
- 8x more performant than hand-rolled APIs