Does Phusion Passenger start a new Ruby instance for each visitor?
Frage
I'm very new to Phusion Passenger. I just know it keeps a limited number of worker threads, and shuts them down after a hour or so of inactivity.
But does it start a new Ruby instance for every request that comes in? Wouldn't that pose a problem if there are multiple users using my app? Is it beneficial to keep around as many instances as possible up and running, so I don't run into any performance issues?
Lösung
please read this document:
Simply said, it does not create ruby instance for every request, because it is not CGI.
I hope this helps.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow