Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
e-r-a-n
· 7y ago · 0 comments
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
Comments
[–]
cdoxsey
7y ago
That's what, 8GB of ram? A lot for a laptop... but not too much for a server.
[–]
doublerebel
7y ago
30% extra RAM is a very noticeable server expense.