Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92479 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5715 invoked from network); 19 Apr 2016 17:50:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2016 17:50:57 -0000 Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 212.232.25.164 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 212.232.25.164 mx208.easyname.com Received: from [212.232.25.164] ([212.232.25.164:53407] helo=mx208.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/03-22821-EFF66175 for ; Tue, 19 Apr 2016 13:50:55 -0400 Received: from cable-81-173-133-226.netcologne.de ([81.173.133.226] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1asZnX-0008AK-JW; Tue, 19 Apr 2016 17:50:51 +0000 Reply-To: internals@lists.php.net References: To: David Zuelke , Lin Yo-An Cc: "internals@lists.php.net" Message-ID: <57166FF0.6010708@fleshgrinder.com> Date: Tue, 19 Apr 2016 19:50:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kn4nrffO0OE9CwMVKTouELT7X3cSOikT8" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] Proposal: Startup snapshot for optimizing app load time From: php@fleshgrinder.com (Fleshgrinder) --kn4nrffO0OE9CwMVKTouELT7X3cSOikT8 Content-Type: multipart/mixed; boundary="1NGscJAsqdnvbDortBQTCvKAA6ImuQ0MX" From: Fleshgrinder Reply-To: internals@lists.php.net To: David Zuelke , Lin Yo-An Cc: "internals@lists.php.net" Message-ID: <57166FF0.6010708@fleshgrinder.com> Subject: Re: [PHP-DEV] Proposal: Startup snapshot for optimizing app load time References: In-Reply-To: --1NGscJAsqdnvbDortBQTCvKAA6ImuQ0MX Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 4/19/2016 6:54 PM, David Zuelke wrote: > I think this solution is merely a band-aid for a more profound architec= tural weakness of current PHP setups, where a web server call out to the = engine (via embedding or FastCGI) to execute a script, which causes this = recurring initialization overhead in the first place. >=20 > The future is (or should be) servers implemented fully in PHP code (e.g= =2E PHP-PM), just like every other comparable language (Ruby, Python, Jav= a, ...) already does. That also brings many other benefits, such as the a= bility to handle upgrades to WebSockets in the same codebase, stream requ= est bodies as they're being uploaded, and so forth. >=20 > And the performance figures that PHP-PM delivers with Symfony validate = that approach IMO. >=20 This requires proper memory management, no matter how: https://software-gunslinger.tumblr.com/post/47131406821/php-is-meant-to-d= ie https://software-gunslinger.tumblr.com/post/48215406921/php-is-meant-to-d= ie-continued --=20 Richard "Fleshgrinder" Fussenegger --1NGscJAsqdnvbDortBQTCvKAA6ImuQ0MX-- --kn4nrffO0OE9CwMVKTouELT7X3cSOikT8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXFm/0AAoJEOKkKcqFPVVr7z0P/04LYHWLdGIrMl1xEBIxiEJC tp3JtO9IRSuilq+qPUGT/TT/Z8hwSY1VxkXDyyitmunCVnIhEr1KrjoXDZGdvUFL bA+zY8jtGPKRD1hHLq1cbD5qo8IINOIbNhX21ULt7GXZYuGhiM1En9mSNUBgfTZC bk1+cg5hvoiYhou+hgeTztQnX94BNMFXmGNOhyDF2JW8+9WkDr4KbAcr9xZkNd7I 4UFm8BU9cWYG70qRaF2+T8GGctjRup4h3AcPr9IY67jQyzUaLTgghzlCVccm+eL3 rqfMhNuqfzqkUACkN/ieJMVLfCrXNCZoUpRrI5q98wsfriIBePFK2swNeL1/OaPP Ye/gqouZzSy1+BbfqQrg4XBCwS8Knki59IsWmgjTJtiIt2oE9zoGzQIbhUbmCmqo 883a6r5ZHT2n8mACWOxSQRrsPVzGAXpyJw+d7tcIdbUQjXx1YZvEPIjix2oIeMV/ 89GF4DNsz61n90gjYwvn7hozmM2sAO72H9mh09sf2aBPk2g5zf5jh5gS2xZ7GbVF Xg+rCkdOH3QPrxwThi1nV3+C1GUQQ/9tkSTHZnX6S8fYe/6m+JhMqRvUssIWBbM6 FXyEASpvBUcWR+jEjQ5HKwOjRwlH8AUNn4CMKti5u09Xq5jcb2AK2tOKWM5bKP56 5ODUUsi3QXdw8zJ9avij =kSS0 -----END PGP SIGNATURE----- --kn4nrffO0OE9CwMVKTouELT7X3cSOikT8--