際際滷

際際滷Share a Scribd company logo
RabbitMQ at FreshBooks
                             Sheheryar Sewani (@sheysrebellion)




Sunday, 23 October, 11
RabbitMQ

                        Asynchronous Messaging system

                        Decouple your applications

                        Easy to scale




Sunday, 23 October, 11
What the Queue?

                        Its all about queues

                        Producers send messages to queues

                        Consumers read messages from queues

                        Messages can contain almost anything



Sunday, 23 October, 11
Consumers
             Serve both internal and External
                       Customers




Sunday, 23 October, 11
Consumers at FreshBooks
                            Event Logging            Metrics (MixPanel)

                            Recurring Billing        SalesForce

                            WebHooks                 Lead Scoring

                            Asynchronous Emails      FreshMap

                            Fresh Receipts           Targeted Email Campaigns




Sunday, 23 October, 11
Queues
                                        Consumer




            Producer                    Consumer



PHP Application
                                        Consumer



                              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

More Related Content

Shey Sewani - RabbitMQ At FreshBooks

  • 1. RabbitMQ at FreshBooks Sheheryar Sewani (@sheysrebellion) Sunday, 23 October, 11
  • 2. RabbitMQ Asynchronous Messaging system Decouple your applications Easy to scale Sunday, 23 October, 11
  • 3. What the Queue? Its all about queues Producers send messages to queues Consumers read messages from queues Messages can contain almost anything Sunday, 23 October, 11
  • 4. Consumers Serve both internal and External Customers Sunday, 23 October, 11
  • 5. Consumers at FreshBooks Event Logging Metrics (MixPanel) Recurring Billing SalesForce WebHooks Lead Scoring Asynchronous Emails FreshMap Fresh Receipts Targeted Email Campaigns Sunday, 23 October, 11
  • 6. Queues Consumer Producer Consumer PHP Application Consumer Sparkplug (Python) Consumers Sunday, 23 October, 11
  • 7. 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