TLDR
The epoll tweak is pretty amazing https://github.com/eranyanay/1m-go-websockets/blob/master/3_optimize_ws_goroutines/epoll.go I also like the reflection done to get fd of the private net.Conn of gorillas websocket.Conn.
The epoll tweak is pretty amazing https://github.com/eranyanay/1m-go-websockets/blob/master/3_optimize_ws_goroutines/epoll.go I also like the reflection done to get fd of the private net.Conn of gorillas websocket.Conn.