1

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?

leppie
  • 115,091
  • 17
  • 196
  • 297
Henley
  • 21,258
  • 32
  • 119
  • 207

1 Answers1

2

please read this document:

http://www.modrails.com/documentation/Architectural%20overview.html#_spawning_and_caching_of_code_and_applications

Simply said, it does not create ruby instance for every request, because it is not CGI.

I hope this helps.

rkosegi
  • 14,165
  • 5
  • 50
  • 83