May 17th, 2002


Module Name: livejournal
Committed By: bradfitz
Date: Fri May 17 13:45:08 UTC 2002

Modified Files:
livejournal/htdocs: login.bml talkpost_do.bml

Log Message:
Do webserver logging to the database, like the cool kids do.
Before you bitch, think:

-- mysql is super light-weight, no heavier than syslogd remotely
-- we're using no indexes
-- we get rotation for free (see Apache/
-- we can compress it super well with myisampack (better than gzip,
since it's per-column)
-- no more scp cron bullshit on web nodes
-- etc
-- etc
-- etc

I've wanted to do this forever, but mod_perl makes it easy and diskless web nodes makes it a requirement now. So hooray!

Also changed in this patch:

-- I was doing some init work in every request that I meant to do
earlier, on server start-up, not in every request. faster now,
and less i/o. hooray^2.

To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 livejournal/cgi-bin/
cvs rdiff -r1.23 -r1.24 livejournal/cgi-bin/Apache/
cvs rdiff -r1.14 -r1.15 livejournal/cgi-bin/Apache/
cvs rdiff -r1.7 -r1.8 livejournal/htdocs/login.bml
cvs rdiff -r1.58 -r1.59 livejournal/htdocs/talkpost_do.bml