Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86885 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38295 invoked from network); 25 Jun 2015 20:53:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2015 20:53:16 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.169 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.212.169 mail-wi0-f169.google.com Received: from [209.85.212.169] ([209.85.212.169:37926] helo=mail-wi0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/62-24641-93A6C855 for ; Thu, 25 Jun 2015 16:53:14 -0400 Received: by wibdq8 with SMTP id dq8so782737wib.1 for ; Thu, 25 Jun 2015 13:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jBODOel2w9UbWgKBXLrsygqXAn+szngJMP/i5MHWPBM=; b=hIPkCKGoGM8NIkXu7HTY+t5i5ICqUWEclGQWi9mJ6TFtsp3p5Qef0LQJ/Hg+vC/54M 0rGdtlfdU2T7SXUpvEJ23oNeF4UWTzbgB8bkSgz0O0x8Ulhj1C+Wiaz9liX8/VzbBiKU 3QFFJrEeokrSqCpohUsWg46U6BAFbXVCMbx3YZy1+Wc4ijdZ8ydx4GPwjRfRL69sxnOo CHCZZXAEvwzQ0IY3aViPZ8IfiiSwEP2O43zCI7CqY0RINyd4MesPnW+sanZThgu598uL J78oUiNwlhLa9sgVgynphEyJJUIv2DUxZb2Ax5QUF7nntHp+Z8oTajRMOGKasmHZRpCF ggJw== MIME-Version: 1.0 X-Received: by 10.180.78.136 with SMTP id b8mr8858989wix.89.1435265591351; Thu, 25 Jun 2015 13:53:11 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.28.217.19 with HTTP; Thu, 25 Jun 2015 13:53:11 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Jun 2015 22:53:11 +0200 X-Google-Sender-Auth: NibwNt8Eu23CdnVdxpT7Fk9HV-Q Message-ID: To: "S.A.N" Cc: internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] New PHP SAPI for Nginx From: kalle@php.net (Kalle Sommer Nielsen) Hi 2015-06-25 22:31 GMT+02:00 S.A.N : > New versions Nginx, implement thread pools, > http://nginx.com/blog/thread-pools-boost-performance-9x/ > > I think this is a good opportunity to write a Nginx module (PHP SAPI) > which is to process requests for PHP scripts in processes Nginx. > > Quality advantages, as compared with the FPM, no network overhead, > less memory consumption, may be implemented mode ZTS (Zend Thread > Safety). > > What do you think about this? > Thank. If there is someone willing to implement this (and maintain it), I don't see any reason for why this could not be accepted into PHP. I would expect such, if implemented by someone, to first be available in 7.1.0, although we could do exceptions like we did for FPM which came in 5.3.3 or something, although that was before tuning to our RFC process and such. -- regards, Kalle Sommer Nielsen kalle@php.net