The change I made yesterday speeds up the slow query in question theoretically (uses an index that filters more rows), but slows everything down because it reads more pages into memory => consumes more memory => more disk swaps => more CPU.
Deploying denormalized ranking now ... then going to work on this comment thread overflow thing which we've recently run into with flame wars.
reply