Live data from Hacker News

Hasura GraphQL Engine and SQL Server

github.com

11–20 of 85 posts

Re: Hasura GraphQL Engine and SQL Server

#11
post #4

The space is def interesting and the product probably lowers the barrier to entry for development. My main question will be why would you use it against plain/open-source PostgreSQL RBAC + GraphQL server or something like https://www.graphile.org/postgraphile/ ?

Both these projects support Postgres, have open source cores, and feature 'pro' options.

https://github.com/hasura/graphql-engine/

https://www.graphile.org/postgraphile/pricing/

https://hasura.io/pricing/ (see: self-hosted)

https://hasura.io/docs/2.0/graphql/core/databases/postgres/i...

Re: Hasura GraphQL Engine and SQL Server

#12
If anyone at Hasura is reading this. Are there any plans to make poll frequency configurable on a per-query basis?

We have different queries with dramatically different latency requirements (e.g. 1 second vs 5 minutes vs 1 hour). Currently we are only using Hasura for the low-latency queries, and are falling back to polling for other things. But it would simplify our development model if we could just subscribe to these changes with a lower frequency.

If we could additionally have some kind of ETAG-style if-not-modified support when initialising connections, that would be extra amazing.

Re: Hasura GraphQL Engine and SQL Server

#13

If anyone at Hasura is reading this. Are there any plans to make poll frequency configurable on a per-query basis? We have different queries with dramatically different latency requirements (e.g. 1 second vs 5 minutes vs 1 hour). Currently we are only using Hasura for the low-latency queries, and are falling back to polling for other things. But it would simplify our development model if we could just subscribe to th…

@nicoburns: Yes, this is something that we've been thinking about, but we haven't put a spec together yet.

Could you open a github issue with a rough proposal of how you'd like to specify this information?

For example: at a subscription level (with a directive or header), or via metadata built-on query collections [1] (what Hasura uses underneath for managing allow-lists).

[1]: https://hasura.io/docs/latest/graphql/core/api-reference/sch...

Re: Hasura GraphQL Engine and SQL Server

#16
post #15

How exactly is caching handled?

Query-plan caching is built-in and here's a docs link for response caching: https://hasura.io/docs/latest/graphql/cloud/response-caching...

Is caching not available if you don’t pay?it seems that hasura cloud is a paid offering. It also doesn’t seem like it works with the self hosted offering. Any plans for that?

Re: Hasura GraphQL Engine and SQL Server

#17

If anyone at Hasura is reading this. Are there any plans to make poll frequency configurable on a per-query basis? We have different queries with dramatically different latency requirements (e.g. 1 second vs 5 minutes vs 1 hour). Currently we are only using Hasura for the low-latency queries, and are falling back to polling for other things. But it would simplify our development model if we could just subscribe to th…

This feature is available with WunderGraph. You can configure Auth, caching, live query polling etc. at a global level and override it for each individual query:

https://github.com/wundergraph/polyglot-persistence-postgres...

https://github.com/wundergraph/wundergraph-demo/blob/906f72c...

Re: Hasura GraphQL Engine and SQL Server

#18
post #4

The space is def interesting and the product probably lowers the barrier to entry for development. My main question will be why would you use it against plain/open-source PostgreSQL RBAC + GraphQL server or something like https://www.graphile.org/postgraphile/ ?

IMO both Postgresql RBAC and Graphile make a big difference. The work that has been done over Graphile has been tremendous, very very polished and well documented. I have been using it on https://stack.lol with great results.

Re: Hasura GraphQL Engine and SQL Server

#20

I am now building on Hasura. Love the experience overall, but some aspects are frustrating. For example, setting up authentication for a React Native (Expo) app with Auth0 is quite cumbersome, and the docs are a bit out of date.

Thanks!

Could you point us to the docs you were looking at for the auth0 integration?

Post reply on HN