Very less CPU Usage and less QPS
- Ngôn ngữ chính
- Go
- Star
- 10.8k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 36 phút
- Pull request đã merge (30 ngày)
- 26
Mô tả
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!
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.