Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121486 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 41198 invoked from network); 27 Oct 2023 11:38:29 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Oct 2023 11:38:29 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6BB67180212 for ; Fri, 27 Oct 2023 04:38:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 27 Oct 2023 04:38:28 -0700 (PDT) Received: by mail-vs1-f49.google.com with SMTP id ada2fe7eead31-457c82cd837so854749137.2 for ; Fri, 27 Oct 2023 04:38:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698406707; x=1699011507; darn=lists.php.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=wi+v8mxn14nQMDOphcTViRp9gkJSUoPYW4mHjRPg4H0=; b=Y4keEAmRKzYpyiJCQkby66uvfRQt52Qh7cxQOxY24Whzyv96d/geRN54//QteO63rx SahLIDfaZlaK2RzZrgVMzlcRgDndfFQoRjd3rWutNDq/wS5ZWvGpwFj+8MPTXaGUmXiH mXm6kQRyTj9PtWJ1fyc6SVrx7Jh1PrNhOpifWN1odsNZMbhr5af4mNan4rc69Sx22Omo Viu/jOYLEhnuFxUKJpRI1cxYItGgIEdcSQ9WsLxb8J7w5qqN6OUiHha/NJggY+qzn0Tm IK74ipPIjj7Fz0K4whBqaBcDM7Bct6wNnDVLrRY7ObwHYdrSfrj9dmqoZz0OQ0Ei31aB WA4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698406707; x=1699011507; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wi+v8mxn14nQMDOphcTViRp9gkJSUoPYW4mHjRPg4H0=; b=vyO79CqqmSomGoKtuIdV057iTsqus6x/vR72JQyHtJesdzK1yT3vdJ05PSuc69xNvE ykLI+oNPXxEgC5NOHsnM3zIa4mBJlqCKy6XrQEqQouWgw+emjNqiUZwbPoPYvhAEi9nR 0Z+z46dxQDOG9+woDU4hBLioRwjYlo8VK2Ojcj8wibR2XBqn7X9+xmUwMc3fmBpdZWrz jME3Fr9m+5lwTsiXBsOZ/BCbh0HkORhnAcLJ8eB3190JFLSM1jMaMmf0TdiqWLjcmFKs 5C3sSVrrTarFEzbCypkYyPtoKlGwO9L6iIjb8vkfY6TYOM8pNcg0nMhJSq8edlFZsgzx jeZg== X-Gm-Message-State: AOJu0YwM51eoziJdBFpsBziNVfIYZGDR77/LM3si+dC4rBTH7AXA9Vi3 IDKUTAAnqRxxDVNv27kJW5E+J/KHgietADC/y2pdpqw/Ry0= X-Google-Smtp-Source: AGHT+IFEKl7pG+Ocnsyk0R9lf+qHWPYb0wAOaq4K17Cmu/6QdvV6TVsHsucZCXjm3IE3O1a5QXOK99Q/kl93J4NxKqE= X-Received: by 2002:a67:e05a:0:b0:457:c1d2:a0ab with SMTP id n26-20020a67e05a000000b00457c1d2a0abmr2395507vsl.18.1698406706679; Fri, 27 Oct 2023 04:38:26 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 27 Oct 2023 08:38:15 -0300 Message-ID: To: PHP Internals List Content-Type: text/plain; charset="UTF-8" Subject: Discussion - PHP with distributed programming features. From: dev.juan.morales@gmail.com (juan carlos morales) Imagine a request comes to NgInx, then we process the request in PHP .... suddenly while execution of PHP is running, we dont have more resources in the server , so we need to process that PHP code on other server with more resources. How can we "move" the complete PHP process to another server with more resources and then send back the result ? this is like having a distributed php infrastructure, behaving in a dynamic way. how can we achieve something like this? or maybe one piece of code needs to run in another server because of resources or something like that, like a function for example, only running one function in a different host and then come back to the mother one. My question is .... what do we need to provide PHP some functionality like the distributed programming languages? It could be achieve with long running PHP instances and using MPI for example (I imagine) but ... ideas on this ? Maybe I am crazy