News for hackers. Stuff that matters.
Re:Handling 1M websocket connections in Go by e-r-a-n on Wednesday February 13, 2019 @05:10PM (#19157600)
The idea behind going all the way down to epoll is to reduce the memory footprint by around 30% otherwise, with every goroutine stack consuming 4-8KB, it's not feasible to go with 1goroutine-1websocket approach
Re:Handling 1M websocket connections in Go by cdoxsey on Wednesday February 13, 2019 @07:46PM (#19158671)
That's what, 8GB of ram? A lot for a laptop... but not too much for a server.
Re:Handling 1M websocket connections in Go by doublerebel on Wednesday February 13, 2019 @10:48PM (#19159466)
30% extra RAM is a very noticeable server expense.