Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128793 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 657D51A00BC for ; Mon, 6 Oct 2025 19:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1759778281; bh=+VzhWn6JYL23DjTdbGM+ipCRElUbNZNCmOkuvwEJG3E=; h=Date:From:To:In-Reply-To:References:Subject:From; b=LRQfMhsMuQRNDLtJTu73ZcQ3SYHl2pj5mALVCYPOzohlAC6MKquErRPn7Aky76O5z FLPVUXkXcaVlV7iRMMbjrmJthdMkflF9xeuo3nTMXplmCvP1h/O3eiRt2SwWWxsE2l SQTThupjUiAReEqnH3LJOFf3Z8/Myce4UytnOMvg9HzhpWsSeujNVVoJQ47Eu5jPR6 UtZX2Pe4KxL7KqZ99v92vUnMhR3PFaUnSMM8aQd4LNpIBqlW69hUVil+QnnZ+npV81 ZJu+DJA3FnNJRzkw0GaXclRqGCasUmAEHkx/yubJrf7bIfo/mqPk0TMnPsDoZOl0r3 VrnEESMNtL8hw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 13DC01801D5 for ; Mon, 6 Oct 2025 19:18:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from fout-b6-smtp.messagingengine.com (fout-b6-smtp.messagingengine.com [202.12.124.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 6 Oct 2025 19:17:59 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfout.stl.internal (Postfix) with ESMTP id 1B8321D00135 for ; Mon, 6 Oct 2025 15:19:16 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-10.internal (MEProxy); Mon, 06 Oct 2025 15:19:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm2; t=1759778355; x=1759864755; bh=rSIgsr6ojedJrfMLhH4XB fMlLLxv2scM9Y1lVSJ5uZs=; b=ECT3WpBqECHLbjqTg4mPTzt6qEPS0YUuzM59h JGxoVQwE5pLmmK4nnKE0EfTGPHjlUQoj3kZh+LZIsYn9OZT6hXq8DoApWEP/0Awo bGOX/wo5o0cBUeDnT2HpYkaNWErDLzsgcx6zG7ufFAn1qVYMmtoPOBJ/OUK71cXS eJ2Xx/zJlKfhX33jwX/2FUsqQH2uhRSby6WsMO2T5harrv78nVeMvQ4Hd4vrERjn WfCqATEgB1C4nrI/T1VcbA+/GK9ZOJo6Ze//9tdvix9gJfSn18fpXTdEuCTUC9Tk SrHpKkOVduCJYtJmt9a52UbXPcjx6guaxIWn8jkxmdZdTp+cA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1759778355; x=1759864755; bh=r SIgsr6ojedJrfMLhH4XBfMlLLxv2scM9Y1lVSJ5uZs=; b=uEVNhe9qTmMCOsrAS hEMWWJxWCgpobORwtcOVkDHBBNsfWiq2zoIv7q6aHjQRq4KFbOln1dr1URSl+vW0 Qzz1C1BQbK1oujKKSzp6BCiKLaXLeAnnEgbBSA9IaM0MLi68WLilPe5NEeOnkj5o OimjM0Vc34IllX74jUaOxp8zdzn5pVWt8hkoFITr8AIJvWQzhLcJQZBXrn86xOE+ vIzJDD7lvM1H5zaLYkvqhxypInJ3JQ90Ill5q2tAoXzGi2S+zLSb7WDSzxzQ4BxC F98gznV/7sMGlvmrAlUoH6fndNYBqf7QILLp78Gt+iXAafamKa1GeLv41/crhZOh BK7WQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdelkeefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedfnfgrrhhrhicu ifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomheqne cuggftrfgrthhtvghrnhepffeiiedvhfdvgedutddtgeetieeugeevhfetheeffeeftedu iedthedtgeejueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphht thhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhsse hlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 7BFAE70006A; Mon, 6 Oct 2025 15:19:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: AejB4fewBc7J Date: Mon, 06 Oct 2025 14:18:55 -0500 To: "php internals" Message-ID: In-Reply-To: References: <14f591d4-aa1e-49dc-bc20-03cb493dc20c@app.fastmail.com> Subject: Re: [PHP-DEV] PHP True Async RFC Stage 4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Mon, Oct 6, 2025, at 1:50 PM, Edmond Dantes wrote: > Of course, you might say that there are simple websites for which FPM > is sufficient. But over the last two years, even for simple sites, > there=E2=80=99s TypeScript =E2=80=94 and although its ecosystem may be= weaker, the > language may be more complex for some people, and its performance > slightly worse =E2=80=94 it comes with async, WebSockets, and a single > language for both frontend and backend out of the box (a killer > feature). And this trend is only going to grow stronger. > > Commercial development of mid-sized projects is the only niche that > cannot be lost. These guys need Event-Driven architecture, telemetry, > services. And they ask the question: why choose a language that > doesn=E2=80=99t support modern technologies. Async is needed specifica= lly for > those technologies, not for FPM. We must have a different definition of mid-sized, because FPM has been u= sed for numerous mission critical large sites, like government and unive= rsity sites, and has been fine. And such sites still benefit from faste= r telemetry, logging, etc. Regardless, we can quibble about the percentages and what people "should= " do; those are all subjective debates. The core point is this: Any async approach in core needs to treat the FP= M use case as a first-class citizen, which works the same way, just as r= eliably, as it would in a persistent CLI command. That is not negotiabl= e. If for no other reason than avoiding splitting the ecosystem into async/= CLI and sync/FPM libraries, which would be an absolute disaster. --Larry Garfield