Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121485 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 39741 invoked from network); 27 Oct 2023 11:33:18 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Oct 2023 11:33:18 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 554EB180506 for ; Fri, 27 Oct 2023 04:33:16 -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-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) (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:33:12 -0700 (PDT) Received: by mail-ua1-f44.google.com with SMTP id a1e0cc1a2514c-7b9d894be6fso701866241.2 for ; Fri, 27 Oct 2023 04:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698406392; x=1699011192; 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=RYx0ZqBz7kIAiPeIasBShMPT2pOlXCCwpAWbyeRwtGoavE1Vkq5OVgeMHq/6RAr92/ QxkLJUW9BJkT2eZmZfZf6gb3Cm7yHqRcunNxd2cSvgLIrCA96RF2D1fDXtfAj8I/hLWJ 5gfkew+9NiJwbZM2EtQmuNKL3dzV5E/7pHKv9/zfh7YoWK90mE9mVcKthDn1a6aVJIYj ukCxb+7iN83ePWxtV2nF3kPvuCEFdR9B6mJdmaytmyMKxTiOIwnZvPrCKIKE6eZHVbhC rHg5IFP5v+XSVyOrSoZYttyUjX+SBAlsos65OY0nTt0Ry/OvhlhQa3Xk28Id9EfGoZjY xt5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698406392; x=1699011192; 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=Zy9Und60sc4LGcO1tisVbyAv4t8VR1KQomPBLmk/ngMIoKyXPFFbzDIgs+XDqv9KuM H+Lau/XpyWR9W+7SOElScb0kChaxrbm7khJgxw4RZLzP+/5UYPFLmQ9pWOW9/Jx/Qql0 zt4TVKmSXZ2Eothiy1wOEKxrLZe2hXrvC1XcmgMLnCO2jJWbIBDNa+L7TILrBGJKB5jd QMkFggMMFidAAsNCkKVMt7xiZkdtJVDBOfxDik/GvbYOCCHRO6vauL9bCXCfYtYwjuk6 8Q9Lxb2N5yA0E23CcXTuvSv3XLqQhxuWVUgm8y4JYc/8Sk7YomuZgn1ksKQHcYY+VuQI lBaQ== X-Gm-Message-State: AOJu0Yymhtt5nlDPOBiRHYAsP2umvMU/VGiJeotGW2PqJa2oNss/2c4z MNbq40IIvhygzAi7j/JHGsacIiR+8YH9p1WZELuSL8i/d44= X-Google-Smtp-Source: AGHT+IEXvq/KJLWjli+AeU+C8IynkIP9kAUl/YXwfZICGaCIa5Rf6eDhAICpXgCCudY5UxVEcG5EPV1HwA8n+RyNO9c= X-Received: by 2002:a67:c308:0:b0:452:69e9:a4c with SMTP id r8-20020a67c308000000b0045269e90a4cmr2113293vsj.3.1698406391796; Fri, 27 Oct 2023 04:33:11 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 27 Oct 2023 08:33:00 -0300 Message-ID: To: PHP Internals List Content-Type: text/plain; charset="UTF-8" Subject: [PHP-DEV][Discussion] PHP distributed programming 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