Hacker News new | ask | show | jobs
by IshKebab 340 days ago
Would it? It would be exactly the same but a bit slower because of the WASM overhead.
1 comments

No, Linux typically takes about 1ms to fork/exit/wait and another fraction of a millisecond to exec, and was only getting about 140 requests per second per core in this configuration, while creating a new WASM context is closer to 0.1ms. I suspect the bottleneck is either the web server or the database, not the CGI processes.