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

Reply via email to