Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112494 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 78301 invoked from network); 14 Dec 2020 09:43:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Dec 2020 09:43:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 646791804DD for ; Mon, 14 Dec 2020 01:13:52 -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=0.0 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 ; Mon, 14 Dec 2020 01:13:51 -0800 (PST) Received: by mail-wr1-f43.google.com with SMTP id t16so15668961wra.3 for ; Mon, 14 Dec 2020 01:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q3n09k0NWR9WTPOWfDt5uxyYFy3V+jyIaCRSRlCOku8=; b=Kbb5lfcHA5QdAQi9lG50508NPB/fF4+MdBoOjrQiJwOaL9ZjZOygwoKV18unlNDbo5 G2ZR2VF3Vn0lTtTtwq5hx4N2tMxMWqf9cwKVc+R0ca7qpwhr8+iWzwn23A1O/BiQBFPY T5dtNW8tZuylEN4Hy5VI9+Z8qF7T+zDYdC99REZMpjVeMXAXWmbnDW/bnwSu5WOBMDt0 J1L+VJk0v+APYRR5N9vzfn1gn9EeaV8Hi2pnHkUNoVaflnJRFhYRuesSewqBqosempdn 1SUL+/dupRuzOK/yuGvon+vl2J0HJSrSWk8hrzzw9fqsvy/OWZGz2eB5Zh4BKlhTJNDL Q8yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q3n09k0NWR9WTPOWfDt5uxyYFy3V+jyIaCRSRlCOku8=; b=PKCDJ9p9m7TX97gxpqM7n64IGtIqQDFIITiopw9VoemW1rD7HD9TSRdPCv3cTAADg9 uYSwvGXIsa+EeClM8zQyR8BA9oD5y73gyP3AhctQuViJTSm481PiYBV0g5eKkV3McYnL Zgin//6mvARVE6oUem9O6x1VWPwSZNU4vby04ngloKl+2qqJvUY0NpPShQ25qFLzS/2u EQcAxMEwpxP3vBRnstKGF3ODRCeWT9DgkgLH5xWgxvk9PnE9hYHlxxwX6Xrok4lV0VBU 1Ti7S38SzE+l1AKjqfw/hIMb02T5uNe0wHs1D/eHbNT4tGvenxJjEh3gv2/gowb04wSV dwpA== X-Gm-Message-State: AOAM533x7QFdhapuTAY/ggCCwCB1MIXU+4zkSUg3zCL+dimunRSzs5Wu YOk+Q1JqKh1dB2pzfYA+At93ftBZqAVGXxUtmTq+4LXrk6o= X-Google-Smtp-Source: ABdhPJwwTw1Uy6lG9GXHbde649Z0O5vkb9GqgZ1dGvC+MbZw6qyvyp6uo2Gp92DoL30mvV18qPmwDOuFkkvi42E1BbQ= X-Received: by 2002:a5d:4112:: with SMTP id l18mr27517210wrp.116.1607937227919; Mon, 14 Dec 2020 01:13:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 14 Dec 2020 10:13:36 +0100 Message-ID: To: =?UTF-8?B?TcOhdMOpIEtvY3Npcw==?= Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000004aa57805b6690f21" Subject: Re: [PHP-DEV] [RFC] [Discussion] Measuring maximum execution time based on wall-time From: kontakt@beberlei.de (Benjamin Eberlei) --0000000000004aa57805b6690f21 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi M=C3=A1t=C3=A9 we talked about this before and I think it's a good addition. Two suggestions to improve the RFC: The RFC could include more details on how the behavior works exactly in combination with long running I/O. Lets say the default socket timeout being 60 seconds, andt the max execution wall time being 10 seconds. What happens if an HTTP call taking 60 seconds via file_get_contents gets started at 9 seconds in the request? I think you should mention that you also need to configure the timeouts of all I/O operations for an effective strategy, so that one gets a good picture how this puzzle piece fits into production. greetings Benjamin On Sun, Dec 13, 2020 at 1:25 AM M=C3=A1t=C3=A9 Kocsis wrote: > Hi Everyone, > > Thanks for all the insightful feedbacks so far, I went ahead, and wrote a > proper > RFC: https://wiki.php.net/rfc/max_execution_wall_time > > Regards: > M=C3=A1t=C3=A9 > --0000000000004aa57805b6690f21--