Re:Why you can have millions of goroutines but only thousand...
by chmaynard on Tuesday October 09, 2018 @05:12AM
(#18174373)
The article makes a number of authoritative claims without providing much in the way of references to other more scholarly work. One might characterize it as an opinion piece masquerading as serious analysis. Nevertheless, I found it thought-provoking and I'm learning a lot by reading the comments here.
[ Parent
| on HN ]
Re:Why you can have millions of goroutines but only thousand...
by hazeii on Tuesday October 09, 2018 @05:51AM
(#18174540)
One error I spotted is that at 4kb each, 1GB only gets you 250,000 goroutines (i.e. article is wrong by an order of magnitude). Easy mistake to make, but bad in a comparison article.
FTA: "With 4KB per stack, you can put 2.5 million goroutines in a gigabyte of RAM – a huge improvement over Java’s 1MB per thread"