Hacker News new | ask | show | jobs
by e-r-a-n 2687 days ago
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
1 comments

That's what, 8GB of ram? A lot for a laptop... but not too much for a server.
30% extra RAM is a very noticeable server expense.