性能
这一部分将介绍如何优化 Hasura 的性能。在某些情况下,瓶颈出现在数据库层面。在另外的情况下,瓶颈出现在基础设施层面。
如果问题出现在数据库层面,我们对可以优化的内容有完全的控制,而 Hasura Cloud 则负责优化应用程序流畅运行所需的基础设施。
我们将通过以下方式查看性能优化情况:
- 查询缓存和响应缓存
- 使用只读副本扩展 Postgres
- 扩展 Hasura
- 使用解释/分析的 Postgres 索引
Did you find this page helpful?
Start with GraphQL on Hasura for Free
Build apps and APIs 10x faster
Built-in authorization and caching
8x more performant than hand-rolled APIs

