Aryeh Gregor wrote:
On Wed, Sep 24, 2008 at 11:40 PM, Tim Starling tstarling@wikimedia.org wrote:
Matt Johnston wrote:
Wouldn't it be a good idea to put things such as emails and stats updates into the job queue? (all stats updates could be under one job type, with just a parameter to decide what).
I think that would be overkill. Site stats is not slow, it takes a couple of milliseconds at most.
What's the issue with it, then?
The issue is that under certain circumstances, MediaWiki locks the table for seconds at a time, blocking all other updates during that period. The circumstances are not precisely known, but there are plenty of candidates.
-- Tim Starling