Dec 14 2010

Episode 99: Message Queues


Do you message queue? Line up and we’ll tell you all about it.

News/Follow-Ups – 01:16

Geek Tools – 13:18

Webapps – 17:15

Message Queues – 22:38

  • What are they
    • Message queues provide an asynchronous communications protocol, meaning that the sender and receiver of the message do not need to interact with the message queue at the same time. Messages placed onto the queue are stored until the recipient retrieves them.
    • So, one use case would be if you need to do something in your application that may be computationally expensive but shouldn’t impact the user experience.
    • In other words a feature that is necessary but doesn’t require immediate execution.
  • What can they be used for?
    • Worker queues
    • Notifications of significant events in a business process
    • Making thumbnails or multiple versions of images after a user uploads.
    • Generate graphs based on a large data set for display on a site’s home page every 15 minutes (Github?)
    • AgileTask achievement checking
    • Anything
      • RS Label queue
  • AMQP
    • Created by JPMorgan Chase & Co
    • Microsoft, Red Hat, Cisco, Bank of America
  • AMQP baxsed
  • Amazon SQS
  • celery
  • Beanstalkd
  • Second Life’s evaluation of message queues