On Sun, 2002-04-14 at 22:17, Craig Westerman wrote: > I'm needing counter for site that receives 80 to 120 hits a minute at peak > load. Many I > have tried cause excessive server load and need to be deactivated or they > lose data and return to zero without warning. All tried so far have been > written in Perl writing to a file. > > Anyone here know of a counter that would handle HIGH traffic with little > added server load? Would using MySQL to store count be of any benifit? > > Would Perl or PHP be faster for writing count to MySQL?
I personally wouldn't recommend logging to mysql. 80 to 120 queries a second would overload a db server. Try something like mod_counter or execute a cgi script using like SSI. <!--#include virtual="/cgi-bin/foo.pl"--> I really don't have much experience with mod_counter. It probably needs some work. I doubt it optimized but it's worth a look. If you use perl make sure you use mod_perl. I would suggest posting this on an apache mailing list. -Jason Yates --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php