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. Email does not need to be slow, it's just unreliable due to a sysadmin issue, namely the lack of a local queue. Not everyone has a working job queue, Wikimedia included. The effect of delaying such jobs via the job queue would be user-visible, and there would be a complexity penalty on the software as well.
-- Tim Starling