graphql-engine/server/src-lib/Control
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
..
Arrow Avoid Arrows by interpreting monads 2022-02-22 18:09:50 +00:00
Concurrent server: parallelize buildGQLContext to improve replace_metadata perfo… 2022-03-09 02:27:42 +00:00
Lens server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Monad server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00