Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

Though adgar is right, for now I believe you need to specify GOMAXPROCS to utilize multiple cores.

http://golang.org/pkg/runtime/#GOMAXPROCS




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: