Re: [go-nuts] Handle 1 million concurrent connections with 50 lines Go code

2022-04-06 Thread Robert Engels
Yes. Go uses “green threads” with its own scheduler and uses facilities like epoll under the covers. > On Apr 6, 2022, at 8:43 AM, 'Jack Li' via golang-nuts > wrote: > >  > Hi group, > > I am going through this page: https://studygolang.com/articles/22820 , It > claims that the 50 lines of

Re: [go-nuts] Handle 1 million concurrent connections with 50 lines Go code

2022-04-06 Thread Ian Lance Taylor
On Wed, Apr 6, 2022 at 6:43 AM 'Jack Li' via golang-nuts wrote: > > I am going through this page: https://studygolang.com/articles/22820 , It > claims that the 50 lines of Go code handles 1 million concurrent connections > from network clients, on 1 single server machine with a 4-Core CPU and 16

[go-nuts] Handle 1 million concurrent connections with 50 lines Go code

2022-04-06 Thread 'Jack Li' via golang-nuts
Hi group, I am going through this page: https://studygolang.com/articles/22820 , It claims that the 50 lines of Go code handles 1 million concurrent connections from network clients, on 1 single server machine with a 4-Core CPU and 16G memory. Does the package net already utilize IO Multiple