graphql-engine/server/src-lib/Hasura/RQL
Vamshi Surabhi ce243f5899
multiplexed subscriptions (#1934)
* add types to represent unparsed http gql requests

This will help when we add caching of frequently used ASTs

* query plan caching

* move livequery to execute

* add multiplexed module

* session variable can be customised depending on the context

Previously the value was always "current_setting('hasura.user')"

* get rid of typemap requirement in reusable plan

* subscriptions are multiplexed when possible

* use lazytx for introspection to avoid acquiring a pg connection

* refactor to make execute a completely decoupled module

* don't issue a transaction for a query

* don't use current setting for explained sql

* move postgres related types to a different module

* validate variableValues on postgres before multiplexing subs

* don't user current_setting for queries over ws

* plan_cache is only visible when developer flag is enabled

* introduce 'batch size' when multiplexing subscriptions

* bump stackage to 13.16

* fix schema_stitching test case error code

* store hashes instead of actual responses for subscriptions

* internal api to dump subscriptions state

* remove PlanCache from SchemaCacheRef

* allow live query options to be configured on server startup

* capture metrics for multiplexed subscriptions

* more metrics captured for multiplexed subs

* switch to tvar based hashmap for faster snapshotting

* livequery modules do not expose internal details

* fix typo in live query env vars

* switch to hasura's pg-client-hs
2019-04-17 15:18:41 +05:30
..
DDL multiplexed subscriptions (#1934) 2019-04-17 15:18:41 +05:30
DML multiplexed subscriptions (#1934) 2019-04-17 15:18:41 +05:30
Types multiplexed subscriptions (#1934) 2019-04-17 15:18:41 +05:30
GBoolExp.hs add spatial predicates for geography columns (close #1674) (#1735) 2019-03-25 17:59:52 +05:30
Instances.hs support union and interface types in remote schema (close #1276) (#1361) 2019-01-28 22:15:10 +05:30
Types.hs multiplexed subscriptions (#1934) 2019-04-17 15:18:41 +05:30