Re: Will PHP ever "grow up" and have threading?
| From: | Per Jessen | Date: | Thu, 25 Mar 2010 20:50:09 +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-303473@lists.php.net to get a copy of this message | ||
Tommy Pham wrote:
> I'm presenting the argument for threading. Per is presenting the work
> around using asynchronous queries via mysqlnd. I did read that link a
> few days ago, "Although the user can send multiple queries at once,
> multiple queries cannot be sent over a busy connection. If a query is
> sent while the connection is busy, it waits until the last query is
> finished and discards all its results." Which sounds like threads ->
> multiple connections to not run into that problem.
You must have read the wrong page. This is NOT about multiple queries,
it's about _asynchronous_ queries.
--
Per Jessen, Zürich (15.1°C)