I've a two Rails apps hosted on a droplet that has multiple CPUs.
Honstly I don't know what does that mean for the app and if I need to do any thing to take advantage of that or does Rails already does that? Please advice 😊
Basically, you specify that your rails app run "8 processes" at once and each will use one core. The way it can be done is by using phusion passenger (with Nginx) and set the following parameters
Thanks @James, any idea how to set those params if I deploy using Hatch?
I guess I'm gonna have to SSH, so where should I put those?
@karim I don't know anything about hatch, I just use straight servers without the bells/whistles. But the configuration declarative should go in your nginx host block.
Thanks @James, it looks like I'm gonna have to do some digging then :)
I really appreciate your feedback.
Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.