Y
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
cdoxsey
2687 days ago
That's what, 8GB of ram? A lot for a laptop... but not too much for a server.
link
doublerebel
2687 days ago
30% extra RAM is a very noticeable server expense.
link