make
./httpclient
Deployed on Railway.app
Metrics collected and analyzed using Axiom.co
Goroutine count | Throughtput (req/sec) | P99 response time (ms) |
---|---|---|
1 | 593.48 | 2.00 |
10 | 3525.35 | 5.00 |
25 | 4284.47 | 10.00 |
50 | 5324.35 | 15.00 |
75 | 5428.06 | 20.00 |
100 | 5365.31 | 26.00 |
It seems like 50 goroutines is the optimal setup before significant diminishing returns.
1.7 vCPU Peak
20 MB Peak
Measured every 5 seconds. So divide by 5 to get req/sec.