Re: [go-nuts] Go http server

2019-07-24 Thread B Carr
On Wednesday, July 24, 2019 at 2:17:58 PM UTC-6, Burak Serdar wrote: > > On Wed, Jul 24, 2019 at 1:36 PM B Carr > > wrote: > > > > I'm mostly interested in the degree of insulation one goroutine has from > another. My extensive reading indicates that absent a goroutine > intentionally commun

Re: [go-nuts] Go http server

2019-07-24 Thread Burak Serdar
On Wed, Jul 24, 2019 at 1:36 PM B Carr wrote: > > > > On Wednesday, July 24, 2019 at 1:11:31 PM UTC-6, Burak Serdar wrote: >> >> On Wed, Jul 24, 2019 at 12:37 PM B Carr wrote: >> > >> > Am I correct in thinking that the unique goroutine is active for the >> > entirety of the connection session?

Re: [go-nuts] Go http server

2019-07-24 Thread B Carr
On Wednesday, July 24, 2019 at 1:11:31 PM UTC-6, Burak Serdar wrote: > > On Wed, Jul 24, 2019 at 12:37 PM B Carr > > wrote: > > > > Am I correct in thinking that the unique goroutine is active for the > entirety of the connection session? Everything between the "goroutine spins > up" and "go

Re: [go-nuts] Go http server

2019-07-24 Thread Burak Serdar
On Wed, Jul 24, 2019 at 12:37 PM B Carr wrote: > > Neophyte here. > > Concept help again, please. This all relates to Go. > > > http server waiting for requests... > > http GET request comes in > > ... goroutine spins up Overall your understanding is correct, with the minor detail that the server

[go-nuts] Go http server

2019-07-24 Thread B Carr
Neophyte here. Concept help again, please. This all relates to Go. http server waiting for requests... http GET request comes in ... goroutine spins up handler calls function which may call another function which ultimately services the GET request by providing a response (webpage) then retu