cassandra-data-apis
cassandra-data-apis copied to clipboard
Consider using concurrent resolvers for queries
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