3 ms·
True, but the base http package handles each request on a different goroutine, so your requests could be handled concurrently: http://golang.org/pkg/http/#Serv
by kinofcain 15y ago
True, but the base http package handles each request on a different goroutine, so your requests could be handled concurrently:
http://golang.org/pkg/http/#Server.Serve http://golang.org/pkg/http/#Server.Serve
Though adgar is right, for now I believe you need to specify GOMAXPROCS to utilize multiple cores.
http://golang.org/pkg/runtime/#GOMAXPROCS http://golang.org/pkg/runtime/#GOMAXPROCS