RabbitMQ
Upcoming SlideShare
Loading in...5
×
 

RabbitMQ

on

  • 1,037 views

 

Statistics

Views

Total Views
1,037
Views on SlideShare
1,036
Embed Views
1

Actions

Likes
2
Downloads
33
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

RabbitMQ RabbitMQ Presentation Transcript

  • Social  network  informa0on   http://twitter.com/jefersonm https://github.com/jefersonm/Jéferson MachadoSo#ware  Design   http://facebook.com/jefe.machado http://slideshare.net/jefersonm
  • WHAT IS THAT ?Robust messaging for applications
  • Written in:
  • LANGUAGES•  JAVA / JVM •  RUBY –  GROOVY / GRAILS •  PYTHON –  SCALA / LIFT •  .NET –  AKKA •  PHP –  PLAY! FRAMEWORK •  PERL •  C/C++ •  ERLANG •  LISP •  HASKELL
  • HOW IT WORKS ? Post man
  • JARGON Producer   Sent  message   Queue  Buffer  that  stores  messages   Consumer   Receive  message  
  • WORKER QUEUES
  • worker.py   new_task.py  
  • ROUND-ROBIN DISPATCHINGConsumer  1   Consumer  2  
  • MESSAGE ACKNOWLEDGMENT Ack   Consumer  1   Consumer  2  
  • MESSAGE ACKNOWLEDGMENT Consumer  1   Consumer  2  
  • MESSAGE DURABILITY
  • FAIR DISPATCHprefetch=1   prefetch=1   Consumer  1   Consumer  2  
  • PUBLISH / SUBSCRIBLE
  • EXCHANGESWrong              Right                
  • EXCHANGESTYPES:  •  Direct  •  Topic  •  Fanout  •  Header  Default  exchange  
  • BINDINGS
  • TEMPORARY QUEUESWith  name:  Random  name:  amq.gen-­‐U0srCoW8TsaXjNh73pnVAw==  
  • ROUNTINGExchange:  direct  
  • TOPICSMessage  =  quick.orange.rabbit   Q1,  Q2  Message  =  quick.orange.fox   Q1  Message  =  lazy.brown.fox   Q2   Exchange:  topic  
  • TOPIC IS MUCH POWERFUL!!! Message  =  #   fanout  Message  =  no  “#”  (hash)  and  “*”  (star)       direct  
  • PLUGINS
  • PLUGINS
  • REFERENCES•  http://www.rabbitmq.com/•  https://github.com/jefersonm/sandbox/tree/gh-pages/python/rabbitmq
  • Social  network  informa0on   http://twitter.com/jefersonm https://github.com/jefersonm/Jéferson MachadoSo#ware  Design   http://facebook.com/jefe.machado http://slideshare.net/jefersonm