Asynchronous Task Queues

Background

What

Why

When

Basic Concept

  1. Client pushes message onto queue
  2. Worker shifts message off queue
  3. Worker executes code based on message

Architecture

Message Serialization

Examples

Abstractions

Examples

Strategies

Pub/Sub

Polling

Job processors

Language Message Broker
CeleryPythonRedis, Beanstalk, MongoDB, CouchDB, Database
SidekiqRubyRedis
ResqueRubyRedis
Delayed JobRubyDatabase

Message Brokers

Examples

Best Practices

Demo

Thank You

Github
github.com/adam12
Twitter
@adamrdaniels
Sourcecode
github.com/adam12/asynchronous-task-queues-devtricks-2014

/