2 ms·
With some hackery you might be able to do it even with plain CGI. I'm thinking doing something like user-land exec[1] and pausing the execution of child just be
by zokier 3y ago
With some hackery you might be able to do it even with plain CGI. I'm thinking doing something like user-land exec[1] and pausing the execution of child just before `main` (or whatever entrypoint). You still need to do one fork per request, but still you could improve average case latency by having children pre-forked.
No, it absolutely would not be worthwhile to go through such hoops, but fun thought experiment.
[1] https://news.ycombinator.com/item?id=37025843 https://news.ycombinator.com/item?id=37025843