On Wed, 26 Mar 2003, Nick Reinking wrote:
Speaking of this, I don't see why they can't be reenabled. However, instead of doing it in realtime (would which kill your performance), why not do it at night? Parse through the Apache log, compile a list of how much each article counter needs to be incremented, connect to MySQL... and do it. :)
Because I don't care about the counters, and I'm still way behind schedule on things I think are important, like better caching and setting up additional languages on the new system, so I haven't gotten to it; and no one else has done it either.
Here's what a line of the wiki's logfile looks like: 20030326195656 0000.175 /wiki/Styx timestamp response time path
Parsing is left as an exercise to the reader... :)
-- brion vibber (brion @ pobox.com)