Re: Will PHP ever "grow up" and have threading?
| From: | Per Jessen | Date: | Thu, 25 Mar 2010 10:55:00 +0000 |
| Subject: | Re: Will PHP ever "grow up" and have threading? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303435@lists.php.net to get a copy of this message | ||
Tommy Pham wrote:
> On Thu, Mar 25, 2010 at 1:46 AM, Per Jessen <per@computer.org> wrote:
>>> * 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?
>>
>> Use mysqlnd - asynchronous mysql queries.
>>
>
> You're assuming that everyone in the PHP world uses MySQL 4.1 or
> newer. What about those who don't?
They don't get to use threading, nor asynchronous mysql queries.
Come on, you're asking about a future feature in PHP 7.x , but would
like to support someone who is seriously backlevel on mysql??
--
Per Jessen, Zürich (16.9°C)