News for hackers. Stuff that matters.
Re:Scaling to 1M active GraphQL subscriptions on Postgres by aidos on Saturday June 01, 2019 @05:35AM (#20068337)
In Hasura’s use case it’s a little different. They’re working on the assumption that you have loads of identical queries that you want to run that differ only in the session variables (and hence the rows they see). Because they’re outside Postgres, they can collate it all and execute a single query for multiple users. Within Postgres you don’t have that luxury. It’s a trade off, but not using RLS suits some use cases better.

There are no comments on this comment yet.