-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
We are trying to benchmark our GraphQL server implementation for Doublets (database engine based on associative model of data).
This the YAML file we tried:
url: 'http://linksplatform.ddns.net:29018/graphql'
queries:
- name: GetSingleLink
tools: [k6, wrk2, autocannon]
execution_strategy: REQUESTS_PER_SECOND
rps: 1
duration: 1s
query: '{ links(where: {from_id: {_eq: 2}, to_id: {_eq: 1}}) { id from_id to_id } }'
- name: UseFromIndex
tools: [k6, wrk2, autocannon]
execution_strategy: REQUESTS_PER_SECOND
rps: 1
duration: 1s
query: '{ links(where: {from_id: {_eq: 1}}) { id } }'
- name: UseToIndex
tools: [k6, wrk2, autocannon]
execution_strategy: REQUESTS_PER_SECOND
rps: 1
duration: 1s
query: '{ links(where: {to_id: {_eq: 1}}) { id } }'
- name: FullScan
tools: [k6, wrk2, autocannon]
execution_strategy: REQUESTS_PER_SECOND
rps: 1
duration: 1s
query: '{ links { id } }'
But all requests are ended up with 400 or 500 codes. And I'm not able to see exact error in the benchmark tool. Is there a way to see how the request is sent and what response is received via the benchmark tool?
If I use any other client (via UI, insomnia or plain JavaScript ApolloClient from the node.js) I do not get any errors with these requests. Only graphql-bench is unable to make request for some reason.
FreePhoenix888uselessgoddess
Metadata
Metadata
Assignees
Labels
No labels