Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122115 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58181 invoked from network); 5 Jan 2024 07:47:52 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Jan 2024 07:47:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1704440903; bh=OQUHCfRwM7BiLnN2KQR4/hpERNvXVzeB9Aru0JJfWuY=; h=Date:From:To:Subject:In-Reply-To:References:From; b=G3N3E2HERuM482we9LPBY7xbS9GKcfaIWYbRkkqhWQ42egUDRMaJnazaIXzh2zsgg iNNbg91N22lj7zy7S2DMAFYtA0RxxMhaK73oPV9cJyYrc8dEIgD19BR08rTr9vu8UH QJejJf7L6E48xDxhL9rxT7oBqNApEfmxLFrP51igGoVyfjEGnQwl65ZdxA8IAPeCxG gxxQrXS0d0FE/bFzUbxecpti9Z3Qy+tgn/MNWc3J3w7YZuvvY1VigLzIaMFUN8whKa 4tysvVFcxtwkKSDzUaiyAwSneQLAu6mt1UBrffxmII4vt2kIUFCPuJti4ebImFIwEz NvTSjZr0AD33A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6212C180056 for ; Thu, 4 Jan 2024 23:48:22 -0800 (PST) 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_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, 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-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 ; Thu, 4 Jan 2024 23:48:21 -0800 (PST) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3368b1e056eso1102712f8f.3 for ; Thu, 04 Jan 2024 23:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704440868; x=1705045668; darn=lists.php.net; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=OQUHCfRwM7BiLnN2KQR4/hpERNvXVzeB9Aru0JJfWuY=; b=CCMChHDfRvyYFYyj8G2vrFWgKI1YDp0+8qiOiLmRAwB6ovZdz0oaiLy/RdKHxeaN9w QD37vzqG2nuuFxAiHmPsu199rmdVtGW9MrpgVehWeSh3uPZbU9eO+WFVfZb2wi9LKL+K UO/l8H/PvvTiYC9eK8qWjzAxJHLdn9TMQ8clENm113PDaInvcL/l1/xUMN9bqkDMVXXp b7+Q7f+Fxj5IKyS0+f/NOYzBA9evafJYpbdIZsc9e77H6FWMyw4i4dKgLppNTV+kQ7IL daweNPet8ldNCQ07l1NEZIpc02sOt3LNt8MLsa8WnyFpjyOpo4m0q9116Zn89PQmVOlp clYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704440868; x=1705045668; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=OQUHCfRwM7BiLnN2KQR4/hpERNvXVzeB9Aru0JJfWuY=; b=S7DE/yjh1g759wX6gjoVMycNfKizMuPeG70FT/fJIMjTZyx2jJTQE84ofPVkLLDQjO 0kp6szrLwgvdux5ofnGwa4QNC+NhfWAalz6DxoUZtU/f0E94+UXnYiJNHjUjJFsk1CCK JXNmr761CM6jJUdmocw5q0Ph2NrZaD/0bfMoqYfVEwPNLq3tjjx5rKMZ14GEOBzowYCg n3aD+1RIoM2WAwIRSMOWj1Ez7DfMm4jKqzCgQp9SdBfr5ka+Jd8rjG1DFTJI3WZBUKPT FAvx6lxFkq0F+LnxTlfiyF4PHyRp84nNQ238138epD6rIvawKbtYM/f4Wj363E21/WfR eTmA== X-Gm-Message-State: AOJu0Yxf0Xrl849dQWlmi6dZGevqb+dJ1aK3C76vroRaQSceXgyWK9mv Q0ud4tlybsoa+IUxFocv0QlW3OnzB4M= X-Google-Smtp-Source: AGHT+IHoXsc7rzEokvCc27FHUfCOyInjl86zXKe5K6GXTiYw+N4EV3j3kjB8qZ0iIwW92e621dcM9Q== X-Received: by 2002:adf:cf10:0:b0:337:51d3:ba69 with SMTP id o16-20020adfcf10000000b0033751d3ba69mr923931wrj.64.1704440868461; Thu, 04 Jan 2024 23:47:48 -0800 (PST) Received: from [127.0.0.1] (cpc83311-brig21-2-0-cust191.3-3.cable.virginm.net. [86.20.40.192]) by smtp.gmail.com with ESMTPSA id a3-20020a5d53c3000000b00336751cd4ebsm874042wrw.72.2024.01.04.23.47.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jan 2024 23:47:47 -0800 (PST) Date: Fri, 05 Jan 2024 07:47:45 +0000 To: internals@lists.php.net User-Agent: K-9 Mail for Android In-Reply-To: References: <3828a559-5dae-44d1-96ce-dff1a8b07c18@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC proposal: worker mode primitives for SAPIs From: rowan.collins@gmail.com (Rowan Tommins) On 5 January 2024 06:55:34 GMT, Robert Landers wrote: >I already said this, but to reiterate: I, personally, hear what you >are saying and largely agree with you; however, before we can really >have any kind of discussion on concurrent servers, we HAVE to address >the underlying issues that are missing from PHP=2E In PHP-src So, let's address them=2E=2E=2E > there are no such things as request objects This is a non-issue=2E As has been discussed already, it's perfectly fine = to have an event-based system where the event details are an associative ar= ray, rather than a rich object=2E > There are no such things as event loops=2E There are fibers, > but absolutely no std-library i/o functions are using them This is what the bulk of Daniil's email is suggesting a way to improve=2E >We have a long way to go before those will be real things that we can >have a proper conversation about in the context of php-src=2E If we keep waiting to have the conversation, it will never happen=2E=20 And if we start building brand new APIs like infrastructure for worker-mod= e SAPIs, in ways that are fundamentally incompatible with async, we're just= making more work for ourselves when we do get there=2E Regards, --=20 Rowan Tommins [IMSoP]