-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Roan Kattouw Sent: 22 February 2008 13:26 To: Wikimedia developers Subject: Re: [Wikitech-l] Interface embarrassment rant
Jared Williams schreef:
Thought MediaWiki had a JobQueue ? Can't it just dump the resizing of large images into that
to be off loaded?
The job queue works fine for doing lots of small things (do one small thing per request, nobody notices the delay), but big things will just delay some random guy's request by 10 seconds because MW is busy resizing an image someone else uploaded. We should really do this in background processes that don't interfere with Apache/PHP, but even then the load might be too heavy to take.
Ah, does sound like the current JobQueue implementation is a bit of a hack. Perhaps time to move it to a service itself.
Jared