Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48728 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60468 invoked from network); 10 Jun 2010 15:53:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2010 15:53:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:44030] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/F7-17116-F8A011C4 for ; Thu, 10 Jun 2010 11:53:53 -0400 Received: by vws13 with SMTP id 13so81326vws.29 for ; Thu, 10 Jun 2010 08:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=jxaczBnT36z7U5fKBB/6UqHn792DZDW/S+wbSSBbFd4=; b=U8W7ISd6t6QkoO6TZ23NHjOfWAhUg5/sQpKm7LsQSheb5qJl4lSEeis21NCox92DZN 4kem88z70rbmWxQ6Ny89R4hBT/cy576wLlJEWdlhCBKU79EFXwWZJvVCfCk/HjVJQtmg yF1bts7jI5+t+wtVtT/sbwayxPxruxs1Ys5zA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=pWjbGpX9k54Of38x1jzis2pvT+JCKiOS83H441dO9/maxQESO1AClzlVM3/MJdAQ2z dV4Wds2H+g+j8iH9PhpFOm1grv8psbQQhpu0Sglh021ma9RdnXA4hrMdrsu2pBc30pB4 9KovEKDs9x4VQMlo63Uj0iW5qO+iWJQO8vaws= MIME-Version: 1.0 Received: by 10.224.72.76 with SMTP id l12mr300645qaj.347.1276185228719; Thu, 10 Jun 2010 08:53:48 -0700 (PDT) Sender: tjerk.meesters@gmail.com Received: by 10.220.184.77 with HTTP; Thu, 10 Jun 2010 08:53:48 -0700 (PDT) In-Reply-To: <4C1102D4.6080105@moonspot.net> References: <4C10FD00.1050204@lerdorf.com> <4C1102D4.6080105@moonspot.net> Date: Thu, 10 Jun 2010 23:53:48 +0800 X-Google-Sender-Auth: UE4wRTMGw6iAU-CgczNXph0q3nM Message-ID: To: Brian Moon , Rasmus Lerdorf , internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Gearman support for php-fpm? From: datibbaw@php.net (Tjerk Anne Meesters) 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 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