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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tommy Pham wrote:

> I think you're missing my point.  Given your current hardware,
> software, product list, etc... how long does it take to run your
> queries in series?  If you were able to run them in parallel and
> deliver faster response time to the users, would you implement PHP
> thread, if it's available?

I mentioned it yesterday, but perhaps you overlooked it - the mysqlnd
driver supports asynchronous queries.  If you really have an issue with
the elapse time of sequential, but independent database queries,
executing them asynchronously is the obvious solution.  (apart from
tuning the database, but I'm assuming you've already been there).


-- 
Per Jessen, Zürich (11.9°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux