cassandra-data-apis icon indicating copy to clipboard operation
cassandra-data-apis copied to clipboard

Consider using concurrent resolvers for queries

Open mpenick opened this issue 5 years ago • 0 comments

Executing queries (not mutations) concurrently is specifically part of the GraphQL spec. As a performance optimization, we can leverage go routines to execute queries concurrently. There's an example in graphql-go that we can use as a starting point: https://github.com/graphql-go/graphql/blob/master/examples/concurrent-resolvers/main.go

mpenick avatar Apr 15 '20 12:04 mpenick