Very less CPU Usage and less QPS
- Langage dominant
- Go
- Étoiles
- 10.8k
- Forks
- 1.3k
- Merge moyen
- 2 j 36 min
- PR mergées (30 j)
- 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!
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.