It makes reasoning about the system much easier.
It makes reasoning about the system much easier.
Personally, i think that PHP's request-response workflow is infinitely easier to deal with than that of servlets in Java or whatever abstractions other technologies out there have, even if only when scaling isn't a concern (which is perfectly passable for some systems out there).
My ideal language for getting things out the door would be something a bit like PHP, but with the standard library of .NET/Java (LINQ or Streams in particular), the wider ecosystem of Python, simplicity of Go and a decent type system on the top of it all, that'd process requests much like PHP does (or at least would only make you think it does, though abstractions that are leaky are arguably worse than none at all).
Also I don't think that you can have a simple language like Go and a decent type system like Typescript, to me those properties are in opposition.
Try the PeachPie compiler then ;)
Anyway, it appears uwsgi can be configured to do this, using fork-server[1] and maybe max-requests[2], although it only works with Perl at the moment.
[1] https://uwsgi-docs.readthedocs.io/en/latest/ForkServer.html
[2] https://uwsgi-docs.readthedocs.io/en/latest/Options.html#max...