8 ms·
> CGI is slow .... CGI is _computationally_ slow, but in practice it's faster than it needs to be for most sites. Some examples of CGI-powered sites i'm aware
by sgbeal 4y ago
> CGI is slow ....
CGI is _computationally_ slow, but in practice it's faster than it needs to be for most sites. Some examples of CGI-powered sites i'm aware of include:
- https://sqlite.org/forum https://sqlite.org/forum
- https://sqlite.org/wasm https://sqlite.org/wasm (same domain, different sub-site)
- https://fossil-scm.org/home https://fossil-scm.org/home
- https://fossil-scm.org/forum https://fossil-scm.org/forum (same domain, separate sub-site)
- https://fossil.wanderinghorse.net https://fossil.wanderinghorse.net
All CGI, all the time, and _plenty_ performant for the purpose.
- yakubin 4y agoAdd to it https://git.kernel.org/ https://git.kernel.org/
- WJW 4y agoMany people confuse "X is slower than Y" with "X is slow in some absolute sense". Starting a new process takes well under a millisecond on most modern machines, so that would be completely lost in the latency of most web requests. The real benefits of persistent processes are in getting to reuse database connections and the like.
- ptx 4y ago> Starting a new process takes well under a millisecond on most modern machines But if that process is Python or Java it's going to be tens to hundreds of milliseconds before it's ready to serve the request.
- alaaalawi 4y agoYMMV, but thats why i love Forth. it compiles the full app (not interpret) in ms. some think its dead or only for the embedded, but for me and my projects its a deadly combination + ultra fun.