Hi Máté,

On 13 December 2020 00:25:10 GMT+00:00, "Máté Kocsis" <kocsismat...@gmail.com> 
wrote:
>RFC: https://wiki.php.net/rfc/max_execution_wall_time

I wonder if you could give some more detailed examples of what you would use 
this for.

You write:

> [The current functionality] can have serious consequences for distributed 
> systems with high traffic, where finishing a request in a timely manner is 
> essential for avoiding cascading failures.

It feels like "finishing in a timely manner" is rather different from "being 
forcefully killed after a fixed time limit".

I'm struggling to picture when I'd want a hard wall-time limit, rather than:

- checking the script's duration at key points where I know it can gracefully 
exit, ensure a consistent state, and return an appropriate message to the caller
- enforcing a network timeout on the calling end so that I don't need to rely 
on all services cooperatively exiting in good time


Regards,

-- 
Rowan Tommins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to