Re:Go Creeping In
by pcwalton on Tuesday June 18, 2019 @11:46AM
(#20214368)
Do many Go programs really have 100,000 goroutines simultaneously? I'm certain that's quite rare.
[ Parent
| on HN ]
Re:Go Creeping In
by stickupkid on Tuesday June 18, 2019 @01:08PM
(#20215405)
Working as part of Juju project, I can tell you for certain that the answer here is yes, very much so.
If you have over 100,000 threads, then you are at the point of scalability where you probably want more than what Go can provide. Async I/O would likely be better for your use case, because even 2kB of stack per thread is 195MB just from thread stacks.