No restriction on firing goroutines.
- 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ả
### What happened?
On load testing my server with 2000 requests , i generted a pprof trace and turns out over 6,00,000 goroutines were fired during the span. The request endpoint was pretty simple and CPU bound, on firing so many goroutines, they are competing for resource and most of time is getting spend on context switching.
### What did you expect?
There should be a finite version gorountes via worker pool

### Minimal graphql.schema and models to reproduce
an array of type Content {
k: String!
v: String!
}
type ExternalReference {
id: Int!
source: String!
}
### versions
- `go run github.com/99designs/gqlgen version`?
- github.com/99designs/gqlgen v0.17.20
- `go version`? go1.19.3
-
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.