/plushcap/analysis/hasura/tweaking-graphql-performance-using-postgres-explain-command-6a3d84fd9c9a

Tweaking GraphQL performance using Postgres’ Explain command

What's this blog post about?

The Hasura GraphQL Engine has been optimized for performance and scalability. It processes incoming requests through stages such as parsing, validation, conversion to SQL, execution by Postgres, and returning JSON responses. To further improve the performance of GraphQL queries, a recent version of Hasura introduced an API that outputs generated SQL along with the execution plan prepared by Postgres' Explain command. This feature helps identify performance bottlenecks and suggests improvements such as adding indexes to reduce latency. The team plans to make insights from Explain more actionable and possibly automate database admin tasks for developers in future iterations.

Company
Hasura

Date published
Dec. 3, 2018

Author(s)
Sandip

Word count
695

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.