I'm using Apache to serve static content, and then reverse proxy-ing to a Rails server to process dynamic content, some of which can take a long time to generate. When Apache hands off a request to a reverse proxy, is an Apache process used up just sitting there waiting for a response (im using prefork mpm), or can it go off and process other requests, and just handle the response from the Rails server when the response is ready?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
closed as not a real question by Michael Hampton, mdpc, Khaled, Ward, mgorven Mar 4 at 16:38
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
|
Using Apache Prefork MPM you will have at least one process for each concurrent request. And, each process will be serving one or zero requests (idle or spare). So the process doing the reverse proxy to Rail, will be blocked till it gets completed (or error). Anyway, another connection can be open to the same server. |
|||
|
|