Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74065 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 863 invoked from network); 8 May 2014 16:00:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2014 16:00:05 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.216.182 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.182 mail-qc0-f182.google.com Received: from [209.85.216.182] ([209.85.216.182:38617] helo=mail-qc0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/B3-15882-40AAB635 for ; Thu, 08 May 2014 12:00:05 -0400 Received: by mail-qc0-f182.google.com with SMTP id e16so3013601qcx.41 for ; Thu, 08 May 2014 09:00:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=PrW9/r0dnM0WgE0MXyxN9kWeh4kLhyHowSX/3nfHthI=; b=OHvSndcgxg6kGLWg589P0CtjzRcgZUweCW68SKiEApQMqBCB4ETy3QWqvsuKEfhweq Kt7dzkc49NhOXsb8QcgomtT2REOu+7c35HQ6Rwk3IlgJMVwmd8FI+c11tqXsUmpl8dK2 Yohhb0NhXALXCEwsjROFDfBTo4bfqg8IUv9XlCNiY5oPU7mSbpRTyw8NugBzh8g/zFD0 JXP9CB7RpIEBhawt3zydgtj0ltKpw9UmfbsJH4pgchONmo1NQhWtol/eDRpesjuxYPRt LEUi3L84wX9kHz5lMCQrRV5OsL40R1AaWxMF/XQ3L3l0XBFK93j3yWqOFhvVANcPRepM 03tw== X-Gm-Message-State: ALoCoQn4LJFdhS2giNt1ZeI/2vNz48p12HzSBySuVCz6VxwAtAx+QOE2W/XYkUm5uA5t7TxsGeT6 X-Received: by 10.140.48.161 with SMTP id o30mr6024724qga.68.1399564800922; Thu, 08 May 2014 09:00:00 -0700 (PDT) Received: from [192.168.200.30] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id v44sm1666969qge.13.2014.05.08.08.59.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 May 2014 09:00:00 -0700 (PDT) Message-ID: <536BA9FE.1090408@lerdorf.com> Date: Thu, 08 May 2014 08:59:58 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Zeev Suraski , Andrea Faulds CC: Andi Gutmans , Sebastian Bergmann , "internals@lists.php.net" References: <5369CED9.5010001@php.net> <4339111475046055305@unknownmsgid> <578A5A21-A820-42AD-A218-FB8049F63B82@zend.com> <3A72C770-9A9F-40C9-9DFE-F40478709BA8@ajf.me> <311084565853739035@unknownmsgid> In-Reply-To: <311084565853739035@unknownmsgid> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="APV4XvWPwkCu2krnRlIWgapCfIND50NPv" Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: rasmus@lerdorf.com (Rasmus Lerdorf) --APV4XvWPwkCu2krnRlIWgapCfIND50NPv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 5/8/14, 5:48 AM, Zeev Suraski wrote: > Again, this is just history/habits. > Nothing prevents creation of apache-fastcgi-php5 package that'll do the= > exact same thing using FastCGI. What you are calling history/habits here is also knows as operational stability. Every change to a stack incurs operational costs which has to be balanced against the benefits of changing a component. Even though it seems like a trivial thing to change from Apache/mod_php to Apache/mod_fcgid or nginx+php-fpm, the operational cost can be quite high. Consider changes to the Nagios monitoring setup. Dev VM images all have to be updated. Startup/shutdown/deploy and logging systems might be affected along with integration tests. And for most environments changing doesn't actually buy you anything. A typical PHP request spends so little time in the web server compared to waiting on mysql and memcache replies that even a major performance boost doesn't actually give you much. I fully agree that nginx+php-fpm is a nicer architecture. I like the process separation that fastcgi brings and the saner and richer configuration nginx brings along with the slight performance boost, but even for my own use those benefits haven't outweighed the cost of switching for me for systems that are running well under mod_php today. -Rasmus --APV4XvWPwkCu2krnRlIWgapCfIND50NPv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAlNrqf4ACgkQlxayKTuqOuCRbgCfXami8tVUu5pMg0Nj9azw+a38 AfAAn2XXOpAtkBPdKlkXPsyeCjSbalhi =+Ajq -----END PGP SIGNATURE----- --APV4XvWPwkCu2krnRlIWgapCfIND50NPv--