Re: Re: how dod you get to do multiple mysql queries concurrently?
| From: | Floor Terra | Date: | Fri, 25 Jan 2008 18:01:33 +0000 |
| Subject: | Re: Re: how dod you get to do multiple mysql queries concurrently? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268114@lists.php.net to get a copy of this message | ||
On Jan 25, 2008 6:52 PM, Nathan Nobbe <quickshiftin@gmail.com> wrote:
> On Jan 25, 2008 12:45 PM, Jochem Maas <jochem@iamjochem.com> wrote:
>
> > you'll end up forking a complete apache process - assuming mod_php.
> > you don't want that
>
>
> alright, Jocheem, now its my turn for a stupid question.
> doesnt apache fork a different process on each php request anyway,
> if its complied w/ mpm-prefork?
>
> -nathan
>
If all these apache/php processes are a problem, you could try a
different setup:
Write a SOAP (or silmilar) webservice in a language that does support proper
threading. Now call your SOAP function from your php script to send the results
to the browser.
Floor