Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swarrot, a library to consume them all!

Swarrot, a library to consume them all!

Talk given at BlaBlaCar Tech Meetup in Warsaw

Olivier Dolbeau

October 20, 2015
Tweet

More Decks by Olivier Dolbeau

Other Decks in Programming

Transcript

  1. We send an email to the driver. We index the

    trip in ElasticSearch. We send the comment to moderation spooler. We store all relevant informations in Hadoop for BI.
  2. “RabbitMQ is a message broker. The principal idea is pretty

    simple: it accepts and forwards messages.”
  3. We send an email to the driver. We index the

    trip in ElasticSearch. We sent the comment in moderation. We store all relevant informations in Hadoop for BI.
  4. RabbitMQ Application mail publication indexation bi Consumer mail Consumer bi

    Consumer indexation Consumer moderation moderation
  5. Expect errors. Deal with them. • Catch them! • Retry

    when needed. • Don’t stop your consumer.
  6. Sometimes, dealing with consumers can be a pain, BUT you

    should definitively use a Message Broker! <3 Olivier Dolbeau @odolbeau