Re: Will PHP ever "grow up" and have threading?

From: Date: Wed, 24 Mar 2010 04:06:18 +0000
Subject: Re: Will PHP ever "grow up" and have threading?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-303165@lists.php.net to get a copy of this message
When looking at PHP as used in enterprise class applications, we can see the following happening. Let imagine that we have a site that gets a 1000 requests per second. That seems to be a good candidate for threading so as to be able to handle the 1000 requests per second. The site runs PHP and Apache. Well, what happens? Each request coming in is handed of to a separate instance of Apache. Thus the site would be able to process many requests simultaneously. It looks as if parallel computing is taking place here, which looks much like threading. Even though PHP itself does not know about threads, and does not need to, I think, the whole process of handling the 1000 requests per second uses parallel computing. There are no performance bottle-necks here. Teus.

« previous php.general (#303165) next »