I posted you a short script on this thread at 04:07 GMT today that'll get you multithreading (via cli) - but even then you can shell exec that cli script from apache..

Per Jessen wrote:
Richard Lynch wrote:

On Fri, January 25, 2008 3:35 am, Per Jessen wrote:
I have a website where some of the pages require several mysql
queries -
they're independent, so in principle they could easily be run in
parallel.  Has anyone looked at doing that?
If MySQL has implemented "cursors" in some new version, you have just
described a "cursor"...

There may be something else in MySQL to do this, mind you, but that's
the easiest way I know of in other DBs...

cursors exist in mysql too, but I don't quite see how I could use them
to run two queries concurrently?  Also, these queries don't return a
lot of data.


/Per Jessen, Zürich

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

Reply via email to