I’m not sure if I am using the correct term.
I have several Nginx (Passenger plugin) workers rendering my web application (Ruby on Rails).
The thing is that I have no idea on when I should fire up new workers / servers. If my users are using too much of the resources, I guess the requests will start to stack up on nginx, and there will be a delay until they get processed by an nginx worker (depending on availability). So is there a simple way to get those latency values that can give me an idea on when I need to scale up or down?
Nginx workers do not render your RoR application. But Passenger do. So, you should tune its options: “Phusion Passenger users guide: Resource control and optimization options“