Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108249 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58333 invoked from network); 26 Jan 2020 00:34:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Jan 2020 00:34:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 584E51804CF for ; Sat, 25 Jan 2020 14:44:41 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 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 ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 25 Jan 2020 14:44:40 -0800 (PST) Received: by mail-yb1-f174.google.com with SMTP id w17so3034830ybm.1 for ; Sat, 25 Jan 2020 14:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=a7vN9Rt+KpOyGyFVIqiQA4AQqZkcMczyLIQ1DIdNqf0=; b=eRm1rJdSXGuQWobGjkXEQzE0CiQP15Y1/FJ6YAXe9N1+muSSwtY0ldokHHoyMM+79P bUNfcRwXTrYTl9s7q/jeN3Zov6teJX1dP3OIfpWwi3XfqselbtKTD5tquovYXW+0DTxd sRPY6APekBM5P2Q4N1YDwj00q9QYM4ZlgOFqhbeHEhdUC7L10Fzu+hke57JtKbDPni+t i3AwSaGITdr5sKgjgjFxgVmoEWDJBg7FXc9XtP6ynTnQ3Xd1WRhZePCMHykZssP7BJ5T E6+B4Sv6r1NU3gMX8NLio/H6yGz+DB3gOz0J82pnddujgH2aCULG7BuoCQbzVdKnVy4T UUww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=a7vN9Rt+KpOyGyFVIqiQA4AQqZkcMczyLIQ1DIdNqf0=; b=hsq3TC7sg91ynRlaTNqBKTKQ3NbjAGUpWBMq5WZ6k4dLLXIPFqS7AIUbp04QXEXxjb ACjeGQ/PtuaqEGOKBoXPoYdS3rNZuWS9tYi6J33WU9uAbtwnLOyqH862lx4MOQkCONkb ogNBmmOCd4hvLV8/MdZrquGSui92g9RY/lH1RgYnuNrJE4ym2s4lmfAYoEn6zsVtzuK2 6pHlk3HMM87dHBzVsOpTN7tMu6Llh/rRMD+0JN9zmWQO4tcYikY9wX/ZFsjUnZZkW/Xq VwKzsUfRFBseLRfKtiDTqQvwOptopueVaqfyi2Ka2FZ0MciYIEVeqUkQx/PV9Qtx9MS9 waOg== X-Gm-Message-State: APjAAAUIoSlB5JfI0fJr92LY65Gldc9Q7c3XkUSF9gB+gjLFvrv4pwCF 146G7liMtRVDhAUvmtRVDbEL5w== X-Google-Smtp-Source: APXvYqz3A0Murq23ygzNi2Pvm/rTTW2ZIXSIxYDjTBcOmZzANi7VkdVmgsWhwO9zS6sqLbh/Zohu8Q== X-Received: by 2002:a25:5b8b:: with SMTP id p133mr8263793ybb.175.1579992279704; Sat, 25 Jan 2020 14:44:39 -0800 (PST) Received: from ?IPv6:2601:c0:c680:5cc0:906c:dba8:4ea6:d7a3? ([2601:c0:c680:5cc0:906c:dba8:4ea6:d7a3]) by smtp.gmail.com with ESMTPSA id o126sm4436276ywb.24.2020.01.25.14.44.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Jan 2020 14:44:39 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) In-Reply-To: <59f7df20-d89e-4076-d329-3a456bfb139a@freedom.nl> Date: Sat, 25 Jan 2020 17:44:38 -0500 Cc: Rowan Tommins , Robert Hickman , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <3ca6d665-1a4f-8f7a-c82a-2e899f2e8df1@gmail.com> <44ba543d-b6eb-888b-9ed5-0f1e9d3b53b9@gmail.com> <8E382251-AE41-4BD9-A5F8-135D11B9E10D@newclarity.net> <59f7df20-d89e-4076-d329-3a456bfb139a@freedom.nl> To: Dik Takken X-Mailer: Apple Mail (2.3445.104.11) Subject: Re: [PHP-DEV] Add viable long running execution model to php 8 From: mike@newclarity.net (Mike Schinkel) > On Jan 25, 2020, at 5:35 PM, Dik Takken = wrote: >=20 > Go channels are about solving problems related to true concurrency: > Multiple threads concurrently handling requests in a single shared > memory environment. I think Robert is talking about sequential request > handling in a single shared memory environment. I think you are making a distinction without a difference. I am not = saying to exactly copy everything about channels, I am saying to learn = aspects of architecture design from them. If we had one long-running process that manages web-socket communication = then sequential requests could have the ability via a constrained API to = communicate with the long-running process to be able to use web socket = communications. This as opposed to allowing all PHP requests to be = long-running. -Mike