in reply to Re^6: Should I just print my own HTTP headers?
in thread Should I just print my own HTTP headers?
If you had a million hits in one day... 1,000,000 / 24 =~ 41,666 per hour / 60 =~ 694 per minute = 11.5 per second. In my machine both of the options perform at over 6000 operations per second. In order for CGI to become my bottleneck then i would need 518,400,000 hits per day!!!! Yes this assumes a uniform distribution, but the numbers...look at them!! And this is on a PC not a web server and a single one, not a load balanced situation that you should have if you are approaching these kinds of hits. Is yours faster? Yes certainly, but CGI is a well worn tool, it will do what you need now, and down the road it will step up and do things you didn't even know you needed, not bite you in the arse like a hand built solution may.
Use what you want but don't make statments like 12471% more efficient like that is a reason to squeeze this particular piece of code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Should I just print my own HTTP headers?
by Cap'n Steve (Friar) on Apr 07, 2007 at 06:25 UTC | |
by eric256 (Parson) on Apr 07, 2007 at 15:20 UTC | |
by BrowserUk (Patriarch) on Apr 07, 2007 at 15:57 UTC |