8
RabbitMQ at FreshBooks Sheheryar Sewani (@sheysrebellion) Sunday, 23 October, 11

Shey Sewani - RabbitMQ At FreshBooks

  • Upload
    devto

  • View
    1.469

  • Download
    2

Embed Size (px)

DESCRIPTION

Shey Sewani presents the asynchronous messaging system RabbitMQ and how its used to decouple and scale applications.

Citation preview

Page 1: Shey Sewani - RabbitMQ At FreshBooks

RabbitMQ at FreshBooksSheheryar Sewani (@sheysrebellion)

Sunday, 23 October, 11

Page 2: Shey Sewani - RabbitMQ At FreshBooks

RabbitMQ

• Asynchronous Messaging system

• Decouple your applications

• Easy to scale

Sunday, 23 October, 11

Page 3: Shey Sewani - RabbitMQ At FreshBooks

What the Queue?

• It’s all about queues

• Producers send messages to queues

• Consumers read messages from queues

• Messages can contain almost anything

Sunday, 23 October, 11

Page 4: Shey Sewani - RabbitMQ At FreshBooks

ConsumersServe both internal and External

Customers

Sunday, 23 October, 11

Page 5: Shey Sewani - RabbitMQ At FreshBooks

Consumers at FreshBooks• Event Logging

• Recurring Billing

• WebHooks

• Asynchronous Emails

• Fresh Receipts

• Metrics (MixPanel)

• SalesForce

• Lead Scoring

• FreshMap

• Targeted Email Campaigns

Sunday, 23 October, 11

Page 6: Shey Sewani - RabbitMQ At FreshBooks

Queues

Producer

Consumer

Consumer

Consumer

PHP Application

Sparkplug (Python) Consumers

Sunday, 23 October, 11

Page 7: Shey Sewani - RabbitMQ At FreshBooks

The Technology

• Sparkplug (http://pypi.python.org/pypi/sparkplug/)

• Kombu (http://pypi.python.org/pypi/kombu)

• Queuetools (http://pypi.python.org/pypi/queuetools/)

• RabbitMQ (http://www.rabbitmq.com/)

Sunday, 23 October, 11

Page 8: Shey Sewani - RabbitMQ At FreshBooks

Thanks! Questions?

Sunday, 23 October, 11