graphql-engine/server/src-lib/Hasura/RQL
Brandon Simmons 9a96e7d165 server: parallelize buildGQLContext to improve replace_metadata perfo…
…rmance

It makes sense to try to utilize multiple threads for metadata
operations since we expect them to come one at a time (and likely at
lower load periods anyway).

As noted, although we build roles in parallel now, the admin role is
still a bottleneck. For replace_metadata on huge_schema, on my machine
I get:

  BEFORE: 22.7 sec
   AFTER: 13.5 sec

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3911
GitOrigin-RevId: 4d4ee6ac8b5506603e70e4fc666a3aacc054d493
2022-03-09 02:27:42 +00:00
..
DDL server: parallelize buildGQLContext to improve replace_metadata perfo… 2022-03-09 02:27:42 +00:00
DML server: remove redundant LANGUAGE pragmas 2022-02-25 12:40:00 +00:00
IR Traverse variables in action remote joins 2022-03-08 08:23:20 +00:00
Types server/postgres: improve fetching tables' and functions' metadata (from database) 2022-03-08 13:03:14 +00:00
IR.hs Nested action joins 2022-03-03 03:44:20 +00:00
Types.hs server, pro: add support for per-role allowlists 2022-02-08 16:54:49 +00:00