Re: how does the PHP interpreter work?
From: Gordon Burditt (gordonb.oldyt_at_burditt.org)
Date: 07/16/04
- Next message: Chung Leong: "Re: How to count lines in a file that meet criteria?"
- Previous message: Phil Roberts: "Re: how does the PHP interpreter work?"
- In reply to: Phil Roberts: "Re: how does the PHP interpreter work?"
- Next in thread: R. Rajesh Jeba Anbiah: "Re: how does the PHP interpreter work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jul 2004 22:19:57 GMT
>> This is crap. A web server like Apache can run multiple threads
>> at the same time, and as each HTTP request comes in it is handed
>> over to the first available thread. It is therefore possible to
>> have multiple instances of PHP being executed at the same time
>> as each instance is within its own thread. having the ability to
>> allow multiple concurrent threads is a function of the web
>> server, not PHP.
>>
>
>The question was in relation to the fetching of remote XML data
>feeds though. In which case PHP will not render the data until it
>has been fetched. Network lag, not interpreter lag. Sorry for any
>confusion.
Network lag on one page should not affect other pages much unless
the network (or the other end of the connection) is really being
saturated, or there's some locking going on (like it's enforced
that only one PHP process will go get fresh data from the feed when
the cached data is older than X minutes, and if another process
wants it, it will wait for the first process to get it, then use
it).
Gordon L. Burditt
- Next message: Chung Leong: "Re: How to count lines in a file that meet criteria?"
- Previous message: Phil Roberts: "Re: how does the PHP interpreter work?"
- In reply to: Phil Roberts: "Re: how does the PHP interpreter work?"
- Next in thread: R. Rajesh Jeba Anbiah: "Re: how does the PHP interpreter work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|