4 ms·
By resources do you mean hardware resources or expertise or what? Cause running more than 2 processes on a 2-core server just sounds weird. I thought Node's d
by ReactiveJelly 6y ago
By resources do you mean hardware resources or expertise or what?
Cause running more than 2 processes on a 2-core server just sounds weird.
I thought Node's doctrine was "One process per core", and (async) Rust and Go seem to do fine with managing their own thread pools. I haven't _tried_ to do a realistic benchmark of Hyper, but I've never seen it struggle with concurrency either, even on long-polling applications where concurrency was the norm for all clients.
More processes would work, but it doesn't seem like the right layer of abstraction for 2015, now that Nginx and Node have made the event model so popular.
- ketamine__ 6y agoMore hardware resources. The example given was a Rails app. I don't think one process per core is common for Rails deployments but I'm not sure.
- jashmatthews 6y agoProcess per core with threading for parallel IO has been the default for almost a decade now.
- ketamine__ 6y agoDefault in what app servers?
- jashmatthews 6y agoPuma is part of the default Rails Gems and was first released all the way back in 2011.