Federico Cargnelutti

Simple is better than complex. Complex is better than complicated. | @fedecarg

Flickr creates its own PHP messaging server to handle 11 million tasks a day

with one comment

Myles Grant wrote:

It seems that using queuing systems in web apps is the new hottness . While the basic idea itself certainly isn’t new, its application to modern, large, scalable sites seems to be. At the very least, it’s something that deserves talking about — so here’s how Flickr does it, to the tune of 11 million tasks a day.

There are plenty of off-the-shelf popular messaging servers out there . We wrote our own, of course. This isn’t just because we think we’re hot shit, there are also practical reasons. The primary one was that we didn’t need yet another piece of complicated architecture to maintain. The other was that for consistency and maintainability, the queue needed to run on the exact same code as the rest of the site (yes, that means our queuing system is written in php).

Continue reading: Flickr Engineers Do It Offline


Written by Federico

October 3, 2008 at 11:56 pm

One Response

Subscribe to comments with RSS.

  1. Also check out Dropr PHP message queue. I was able to scale to over 1000 messages per second on a single server…

    Jay Yukes

    November 23, 2008 at 10:38 am


Leave a Reply