Very less CPU Usage and less QPS
- Dominant language
- Go
- Stars
- 10.8k
- Forks
- 1.3k
- Avg merge
- 2d 36m
- Merged PRs (30d)
- 26
Description
Hi,
gqlgen version - v0.17.36
Pods - 10
CPU - 1
Mem - 1 GB
I am building an API server with Clickhouse database using gqlgen package.
The schema I am using just 2 and with straight 6 keys without any nested schema.
My API server deployed in kubernetes.
I am trying to hit around 50K QPS since I have 10 CPU cores running with big Clickhouse cluster running in background.
But I am able to hit only 5K QPS and my cpu usage is very less with just 1.5 but the average response time seems max 150ms.
I want to scale the system up to receive more QPS, I am not sure if I am missing something with http connections or need some special configurations.Also, I should be able to generate more QPS in future.
But my CPU is not at all utilising more than 10%, need some help to maximise the performance.
Thanks in advance!
Contributor guide
Assessment
This issue has not been assessed yet.