I love this script, but it is very hard on a large site's performance (40k+ visitors/day). We have dual servers running our vBulletin and MySQL set for max_connections of 1000, but it still caused our server to crash.
I would like to use cron to run it once a day and then SSI the results to the homepage. Any suggestions? Extra credit if anyone knows how to modify it to return the top most active threads from the previous day. That would make the most compelling content appear on the homepage I believe. Many thanks.
|