3 ms·
CGI isn't slow -- starting interpreters is slow. Starting Python or Ruby can easily be 1000x more expensive than starting a process in C, which takes MICROSECO
by chubot 9y ago
CGI isn't slow -- starting interpreters is slow. Starting Python or Ruby can easily be 1000x more expensive than starting a process in C, which takes MICROSECONDS, not hundreds of milliseconds.
See this 7 year old message by Richard Hipp (of sqlite):
https://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg02065.html https://www.mail-archive.com/fossil-users@lists.fossil-scm.o...
https://news.ycombinator.com/item?id=3036124 https://news.ycombinator.com/item?id=3036124
This server takes over a quarter million requests per day,
10GB of traffic/day, and it does so using less than 3% of of the CPU on a virtual machine that is a 1/20th slice of a real server.
- goldenkey 9y agoPeople just throw around qualifier attacks these days without thinking about the reality of modern processing power and what is really overoptimization. Just because CGI is slow-er- does not make it slow. So many hours are wasted on overoptimization, myself guilty of it - simply because of OCD type tendencies. I hope when I am finally on my deathbed I am not picky about the color of the sheets...