I have been unable to find a good web server tutorial. Everything seems to be listen, process page, done, repeat. This doesn't seem to allow multiple connections at once, especially if the process page process takes a long time.
Go's net/http package is concurrent behind the scenes; each request is handled in a separate goroutine. You just write your HTTP handlers in the obvious way and the concurrency is taken care of by the runtime.
Re:Why I Program in Go
by ternaryoperator on Sunday January 06, 2013 @08:10AM
(#5016230)
The recent five-part tutorial on Go that ran in Dr. Dobb's also has articles worth linking to: http://www.drdobbs.com/240008277
Re:Why I Program in Go
by TallboyOne on Sunday January 06, 2013 @11:16PM
(#5019294)
Added
http://pineapple.io/resources/tagged/go-language?type=tutori...