Re: PHP vs. PERL (Functional Comparison)??
| From: | Rasmus Lerdorf | Date: | Mon, 17 Sep 2001 03:58:11 +0000 |
| Subject: | Re: PHP vs. PERL (Functional Comparison)?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67554@lists.php.net to get a copy of this message | ||
> ??? I didn't get this? Aren't these pre-forked
> processes handle requests using threads internally?
> Say you configure apache to pre-fork 5 server
> processes, what you are saying implies that you can
> only handle 5 concurrent requests?????? can you please
> explain this more?
That's exactly what it means. Apache on Unix is non-threaded.
> Actually, I was asking the low-level information, I
> mean something like web server receives the request,
> hands this over to mod_php, that requests a thread
> from the worker threads, so on so forth...
Well, since there are no threads involved here there is no pool of worker
threads or anything like that. You simply have a process that grabs a
requests, branches off to mod_php/mod_perl and sends the result back.
-Rasmus