need genius advice: PHP / nusoap multithreading
Now I want to speed things up by running it on a small network instead of just one box. I want to use one master script to take each call, chop up the work, and distribute parts of its processing to other servers.
My thought was to use nuSOAP to just pass off a fraction of the search range, then call the same algorithm on all the other boxes and get their data back in XML. No biggie. Except I didn't realize that PHP actually waits for each request to be completed in a for...next structure before moving on to the next call. I guess this should have been obvious, in retrospect. Anyway, that pretty much makes it pointless to try and multi-thread anything.
I'm on a box w/o pcnt / fork abilities, so that's not an option, and I've heard it's slow anyway. Does anyone have a nice way to create something similar to an event handler for nuSOAP in PHP, so it just triggers what it needs to when it's finished, and still moves on to the next call? Maybe this is just stupid; but there must be some genius who's dealt with this and conquered it...
Thanks!

