4 ms·
Would love to see benchmarks! :) But just for clarity in the discussion thread here, Hasura also compiles to a single query when only Postgres is being hit and
by tango12 5y ago
Would love to see benchmarks! :)
But just for clarity in the discussion thread here, Hasura also compiles to a single query when only Postgres is being hit and I'd expect performance to be quite similar...
Ofcourse, if the GraphQL query requires federation across multiple Postgres databases or multiple databases or databases + other GraphQL / REST APIs, then Hasura breaks them up into multiple queries with a worst-case performance of a data-loader type set up.
- Rapzid 5y agoYeah, compiling a data access DSL down to SQL, potentially through some intermediate AST, is not as novel as it's being made to sound around here. I feel like I'm being gaslighted.