Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126632 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 qa.php.net (Postfix) with ESMTPS id 553A21A00BC for ; Sat, 8 Mar 2025 07:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1741420574; bh=A0zwMTLycKsEi+JsiKCJcb0QYgQXRA3pktI0OxXdVcU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eLEJgCp/3k48+sx2cEUzGRaKNTdPnY22WEtROdzMKn18cjvswXIFNbjvhY3LKGazn bO2jMzZFZrVUFh4yM+re7T74XJvqNIeZ8VYYzcM2hxORAAV/ljmKtsq5Hjy6Bqxlo7 Pm5lo1Dqhe9i2cjFifSVwOA4ScQfYAKJJ1NmVpkzCW5ipgujzrZiDQ2eXN2BJKscng TA5ZJsfHN1FI2qCllwaehQh4A23UVQnAjPNVAJinHyYFEQEqQCgfUB9ehB3jQ4BrT7 9IQDOA0x/8pmv3SnL/IdEAWOzvMyZo960c4GUJUaQ8pkctnqE2yOiNFQPZZulVxO8L pA12eigytgkrw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 66204180072 for ; Sat, 8 Mar 2025 07:56:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) (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 ; Sat, 8 Mar 2025 07:56:13 +0000 (UTC) Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-e3c8ae3a3b2so2004812276.0 for ; Fri, 07 Mar 2025 23:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741420727; x=1742025527; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wo5+HJdGC5uNsdTx0GvYTikbMTvODS7kr1bgqJoj9l8=; b=CPVUlM3bqtgR3/R0sPPPmwFt7HmrXUgRGIGukqsLYV+fzGJ31Aww0ZdMfHqYrrJCZD BoS3Vgcit77DET1KNuMvX2I34yCdFd27WPhHTwxapghlz4mScp9da8WaPshMELUUfRw9 tPNW1Ky+PN2JAjAFIycbOuKogiwXpuYeq83V194VJ7eFEhRXqSDNS9rHq/ET0tB4yDAI paNTVgmbrKRNYWFKL2Zej4VytuL8aolG4Jp0ivYGJqNSK/lWct5UujoyG4iv6mgd15W/ IobRDlkVGjYXcXOA/QB+XWHuw3q98hexdpwVVIdWEmYsKLH+gWuIZ1UPW0esiHy0k3cj AQvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741420727; x=1742025527; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wo5+HJdGC5uNsdTx0GvYTikbMTvODS7kr1bgqJoj9l8=; b=hzRGJknvNMro3BLhzbmCKdcq0QDEA/hfCdcKhdH86xN5w5FYF1Fc18KbILzu32z6UU CMBgrFRtDz3n0saRE0qlqJj7O3l2ilpPsZ+cSNkk2PX0Ovk8KcOM75ESWdA84rgqvgh6 5BOukGAtuhNQ6q/rGWnRx0sArEkhxk6ArbaKkxUwgIT3GKzd5DZJsRunrmAe9nD5Q6wh JqhmDIsTf5suJm/UrAUCdprcCJbBPMOSIVL4iVc5rvWnBlfYB9x9lLma22JGRUO1R6It mF9w4aA5UiZPaZyaUeImjVTAttCQHMYIwO55eamHkD6ABmmBHKsIHSQZLxJKrWj1SVKy uhzw== X-Gm-Message-State: AOJu0Yz4jmjMjGapBPoro2yMnxswZdjrF8qXlgAnlW0wTWSIR81foU1F 3wI4tzgOxISTPzinB67KeQg8kBSe2/iwMPGVt+8SEqWbeU5jYA2Kemoaa0qEgKizjYCnDjQ0ZpJ 4zxB4FUNNPX+IwaKsNonjIkOWAZmWCzMFLjKyKw== X-Gm-Gg: ASbGncvlnkT+gJ1nUoWYoY3Vc8rE2PTBGfmtJSg19Eldrnvlsz3Ek6ggKcXaLaVBKK2 AgCjDpbj6Y7MVdRCsgRViAK4nDn6seONI8pcA/q//bWM+PyCeAREaXq5RVbYjFQJuHkFzT71GO8 DSQk9ySn4Bs05icZBdbrjrwXwBng== X-Google-Smtp-Source: AGHT+IETofsj6+dP4h1dA0jBVGXmHnyGSMIOhh6KhagssE8Yk17EoQKG3039xnPPcJM/C3YlzFcqLRQKyFL4AhvL8Xw= X-Received: by 2002:a05:6902:2585:b0:e60:88f9:b08a with SMTP id 3f1490d57ef6-e635c203fdamr7478951276.45.1741420727554; Fri, 07 Mar 2025 23:58:47 -0800 (PST) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <9964db8c-0ffe-43d5-8246-47fc76b07180@app.fastmail.com> <78a03dd0-fd4a-4f4a-ad8a-37e5704f06fc@app.fastmail.com> <08c8ad0b-e8f4-46e3-99f0-b80748d40b89@app.fastmail.com> <07973EAE-2D83-47A8-8FA0-84286C77C02B@rwec.co.uk> <48d66433-3ae9-4895-8361-7c81a0a3670d@app.fastmail.com> In-Reply-To: <48d66433-3ae9-4895-8361-7c81a0a3670d@app.fastmail.com> Date: Sat, 8 Mar 2025 09:58:37 +0200 X-Gm-Features: AQ5f1JpZ-1Y4latc9uEntPkDt6dNCSne33rY76DKhoN54Sl25V0qTIKmwpnS1lo Message-ID: Subject: Re: [PHP-DEV] PHP True Async RFC To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="000000000000dedb97062fd01b2c" From: edmond.ht@gmail.com (Edmond Dantes) --000000000000dedb97062fd01b2c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > Neither of these is a bad use case, and they're not mutually exclusive, but they do lead to different priorities. > I freely admit my bias is towards Type 1, while it sounds like Edmond is coming from a Type 2 perspective. > Exactly. A coroutine-based server is what I work with, so this aspect has a greater influence on the RFC. However, both cases need to be considered. Right now, background services are handled with Go. If PHP gets solid concurrency tools, convenient process management, and execution tracking, the situation might shift in a different direction=E2=80=94because a unifie= d codebase is almost always more beneficial. --000000000000dedb97062fd01b2c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>
>=C2=A0 Neither of these is a bad use case, and they're not mutually exclusive,= but they do lead to different priorities.=C2=A0
> I freely admit my= bias is towards Type 1, while it sounds like Edmond is coming from a Type = 2 perspective.
>
Exactly. A coroutine-based server is what I work= with, so this aspect has a greater influence on the RFC. However, both cas= es need to be considered.

Right now, background services are handled with Go. If PHP gets solid co= ncurrency tools, convenient process management, and execution tracking, the= situation might shift in a different direction=E2=80=94because a unified c= odebase is almost always more beneficial.

--000000000000dedb97062fd01b2c--