#Scaling a server
6 messages · Page 1 of 1 (latest)
if its becoming slow with 10 active connections, the issue isn't with scaling, it means there's very likely some bug in your code. you should share some code
it's one of hobby project from when i started learning go and i been semi actively doing for almost 2 years now so it's large and messy. https://github.com/mohanavel15/Chatapp/blob/main/gateway.go
would appreciate if anyone can point me any good resources.
Have you done profiling?
https://pkg.go.dev/net/http/pprof
Types: 0
Functions: 6
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool....
More documentation omitted