Re: Will PHP ever "grow up" and have threading?
| From: | Tommy Pham | Date: | Wed, 24 Mar 2010 23:31:56 +0000 |
| Subject: | Re: Will PHP ever "grow up" and have threading? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303391@lists.php.net to get a copy of this message | ||
As some of you mention that implementing threads will make the DB work
harder than the standard serial operations queries, let me ask you
these then:
* How often does your DB server(s)/cluster utilizes 100% CPU (SMP/MC),
memory, and disk IO?
* How long is the duration when 100% utilization occurs?
* If you could implement threads and run those same queries in 2+
threads, the total time saved from queries execution is 1/2 sec or
more, which is pass along as the total response time reduced. Is it
worth it for you implement threads if you're a speed freak? (I
remember a list member, not mentioning his name, does optimization of
PHP coding for just microseconds. Do you think how much more he'd
benefit from this?)
* If the requests are executed in parallel, the sooner the request
fulfillment completes, the faster it is to move to the next request
and complete it right?