News for hackers. Stuff that matters.
Re:Why has CPU frequency ceased to grow? (2014) by ninkendo on Wednesday February 21, 2018 @07:01PM (#16434075)
Just to be clear, goroutines aren't threads (although they are multiplexed onto threads), and they're only pre-empted at certain points in the go runtime (function calls are the big ones.)

If your request spins in a for-loop doing lots of work without function calls, other goroutines on the same thread won't get a chance to run, and you'll be limited to GOMAXPROCS simultaneous requests. In practice this never really happens though.

There are no comments on this comment yet.