Re: Gearman support for php-fpm?
| From: | Tjerk Anne Meesters | Date: | Thu, 10 Jun 2010 15:53:48 +0000 |
| Subject: | Re: Gearman support for php-fpm? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48728@lists.php.net to get a copy of this message | ||
All "fpm" workers would be called using the same function name (e.g.
"runphp"). This allows you to reuse a gearmand instance for other
workers too.
The advantages of fpm vs gearman would be mostly performance (it uses
ping and requires an underlying layer on top of tcp/ip), followed by
dynamic spawning and "crash recovery". Think there are more but I
can't access the website from over here ;)
On 6/10/10, Brian Moon <brian@moonspot.net> wrote:
> The big difference is that different processes do different jobs in
> Gearman. All PHP workers in fpm just run what ever code is handed to
> them. How do you handle that?
>
>
> Brian.
> --------
> http://brian.moonspot.net/
>
> On 6/10/10 9:56 AM, Rasmus Lerdorf wrote:
>> Has anybody thought about adding Gearman support to the fpm sapi?
>> Managing Gearman workers is pretty much identical to managing fastcgi
>> workers, so it doesn't seem like much of a stretch.
>>
>> -Rasmus
>>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
--
Tjerk