On Wed, Apr 6, 2022 at 6:43 AM 'Jack Li' via golang-nuts
<golang-nuts@googlegroups.com> 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 16G 
> memory.
>
> Does the package net already utilize IO Multiplexing internally, like epoll 
> (epoll_create, epoll_ctl, epoll_wait)? So I can just use package net and gain 
> the epoll ability automatically without calling epoll apis manually in Go?

I didn't read your program, but, yes, the net package uses epoll
internally.  There is no need to call epoll yourself.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWpReVnWqxCkoHBcw%3DvYQsiTuSQZZPV9p-Tz7KQCG5adg%40mail.gmail.com.

Reply via email to