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
RabbitMQ at FreshBooksSheheryar Sewani (@sheysrebellion)
Sunday, 23 October, 11
RabbitMQ
• Asynchronous Messaging system
• Decouple your applications
• Easy to scale
Sunday, 23 October, 11
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
ConsumersServe both internal and External
Customers
Sunday, 23 October, 11
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
Queues
Producer
Consumer
Consumer
Consumer
PHP Application
Sparkplug (Python) Consumers
Sunday, 23 October, 11
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
Thanks! Questions?
Sunday, 23 October, 11