SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
Message Queues

     Kilian


   Today, duh
Motivation



Alternatives



AMQP
What We Need




     Some kind of message queueing / IPC
     Send data from A to B
         send arbitrary messages
         distributed
         Reliable
         Flexible
         Scalable
         Fast
What We Have



     Python Twisted XML-RPC
         arbitrary data: yes
         distributed: yep
         Reliable: implementation
         Flexible: not really ...
         Scalable: well ...
         Fast: oh ...
     Can we have all that, without implementing everything?
far too many IPC standards and implementations out there
not all are distributed
    D-Bus
    MPI
    Signals
some are
    XML-RPC (SOAP, ...)
    ”Sun” RPC
Are any of those reliable?
Reliability




        What goes in comes out.
        It does come out.
        It does come out, even if something goes horribly wrong.
        If something goes horribly wrong, not everything breaks.
AMQP?



    Doesn’t look like it was designed for IPC.
    So what? IPC is just a special case of message passing.
    Does it match our needs?
        arbitrary messages, distributed, flexible, scalable, reliable
        if the implementation is not slower then the current
        XML-RPC, it’s fast enough
    Instead of searching for a IPC standard / implementation that
    fits our needs, search for AMQP implementation that fits our
    needs.
What is AMQP?
Exchanges



      a message is send to a exchange
      every message has a routing key
      the exchange decides, based on the routing key, where to
      enqueue it.
            fine graned configuration, how messages from A reach B
            direct exchange
            fanout
            topic exchange
Exchanges
Fin




      Fin

Contenu connexe

En vedette

Роль стантартов в развитии On line торговли
Роль стантартов в развитии On line торговлиРоль стантартов в развитии On line торговли
Роль стантартов в развитии On line торговли
Wikimart
 
Weather and climate miguel angel-martinez
Weather and climate miguel angel-martinezWeather and climate miguel angel-martinez
Weather and climate miguel angel-martinez
lola caravaca
 
The light alvaro nohales
The light  alvaro nohalesThe light  alvaro nohales
The light alvaro nohales
lola caravaca
 
Timemanagement
TimemanagementTimemanagement
Timemanagement
Sheila A
 
Trabajo science sofia t 6
Trabajo science sofia t 6Trabajo science sofia t 6
Trabajo science sofia t 6
lola caravaca
 
Living things asensio
Living things asensioLiving things asensio
Living things asensio
lola caravaca
 
Gross misconduct
Gross misconductGross misconduct
Gross misconduct
Sheila A
 

En vedette (20)

Facebook Presentatie
Facebook PresentatieFacebook Presentatie
Facebook Presentatie
 
1124473b
1124473b1124473b
1124473b
 
Best practiclessme2012
Best practiclessme2012Best practiclessme2012
Best practiclessme2012
 
Роль стантартов в развитии On line торговли
Роль стантартов в развитии On line торговлиРоль стантартов в развитии On line торговли
Роль стантартов в развитии On line торговли
 
La prehistoria
La prehistoriaLa prehistoria
La prehistoria
 
Weather and climate miguel angel-martinez
Weather and climate miguel angel-martinezWeather and climate miguel angel-martinez
Weather and climate miguel angel-martinez
 
Lasers
LasersLasers
Lasers
 
The light alvaro nohales
The light  alvaro nohalesThe light  alvaro nohales
The light alvaro nohales
 
Facebook Presentatie
Facebook PresentatieFacebook Presentatie
Facebook Presentatie
 
Hilton International Training.
Hilton International Training.Hilton International Training.
Hilton International Training.
 
Timemanagement
TimemanagementTimemanagement
Timemanagement
 
Thesis i 3.21.11
Thesis i 3.21.11Thesis i 3.21.11
Thesis i 3.21.11
 
Alien digest vol_1
Alien digest vol_1Alien digest vol_1
Alien digest vol_1
 
Especies Invasoras 2016 IES Rambla de Nogalte
Especies Invasoras 2016  IES Rambla de NogalteEspecies Invasoras 2016  IES Rambla de Nogalte
Especies Invasoras 2016 IES Rambla de Nogalte
 
L
LL
L
 
Trabajo science sofia t 6
Trabajo science sofia t 6Trabajo science sofia t 6
Trabajo science sofia t 6
 
Pytables
PytablesPytables
Pytables
 
BTXA part 4 of 5
BTXA part 4 of 5BTXA part 4 of 5
BTXA part 4 of 5
 
Living things asensio
Living things asensioLiving things asensio
Living things asensio
 
Gross misconduct
Gross misconductGross misconduct
Gross misconduct
 

Similaire à Message Queues

NoSQL afternoon in Japan Kumofs & MessagePack
NoSQL afternoon in Japan Kumofs & MessagePackNoSQL afternoon in Japan Kumofs & MessagePack
NoSQL afternoon in Japan Kumofs & MessagePack
Sadayuki Furuhashi
 
NoSQL afternoon in Japan kumofs & MessagePack
NoSQL afternoon in Japan kumofs & MessagePackNoSQL afternoon in Japan kumofs & MessagePack
NoSQL afternoon in Japan kumofs & MessagePack
Sadayuki Furuhashi
 
The Future of Messaging: RabbitMQ and AMQP
The Future of Messaging: RabbitMQ and AMQP The Future of Messaging: RabbitMQ and AMQP
The Future of Messaging: RabbitMQ and AMQP
Eberhard Wolff
 
High powered messaging with RabbitMQ
High powered messaging with RabbitMQHigh powered messaging with RabbitMQ
High powered messaging with RabbitMQ
James Carr
 

Similaire à Message Queues (20)

Building a reliable, scalable service with Clojure and Core.async
Building a reliable, scalable service with Clojure and Core.asyncBuilding a reliable, scalable service with Clojure and Core.async
Building a reliable, scalable service with Clojure and Core.async
 
NoSQL afternoon in Japan Kumofs & MessagePack
NoSQL afternoon in Japan Kumofs & MessagePackNoSQL afternoon in Japan Kumofs & MessagePack
NoSQL afternoon in Japan Kumofs & MessagePack
 
NoSQL afternoon in Japan kumofs & MessagePack
NoSQL afternoon in Japan kumofs & MessagePackNoSQL afternoon in Japan kumofs & MessagePack
NoSQL afternoon in Japan kumofs & MessagePack
 
Messaging with RabbitMQ and AMQP
Messaging with RabbitMQ and AMQPMessaging with RabbitMQ and AMQP
Messaging with RabbitMQ and AMQP
 
The Future of Messaging: RabbitMQ and AMQP
The Future of Messaging: RabbitMQ and AMQP The Future of Messaging: RabbitMQ and AMQP
The Future of Messaging: RabbitMQ and AMQP
 
High powered messaging with RabbitMQ
High powered messaging with RabbitMQHigh powered messaging with RabbitMQ
High powered messaging with RabbitMQ
 
RabbitMQ
RabbitMQRabbitMQ
RabbitMQ
 
Messaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQMessaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQ
 
Architecture | The Future of Messaging: RabbitMQ and AMQP | Eberhard Wolff
Architecture | The Future of Messaging: RabbitMQ and AMQP | Eberhard WolffArchitecture | The Future of Messaging: RabbitMQ and AMQP | Eberhard Wolff
Architecture | The Future of Messaging: RabbitMQ and AMQP | Eberhard Wolff
 
The Message Passing Interface (MPI) in Layman's Terms
The Message Passing Interface (MPI) in Layman's TermsThe Message Passing Interface (MPI) in Layman's Terms
The Message Passing Interface (MPI) in Layman's Terms
 
Ride The Bus!
Ride The Bus!Ride The Bus!
Ride The Bus!
 
what is soap
what is soapwhat is soap
what is soap
 
RabbitMQ interview Questions and Answers
RabbitMQ interview Questions and AnswersRabbitMQ interview Questions and Answers
RabbitMQ interview Questions and Answers
 
Life in a Queue - Using Message Queue with django
Life in a Queue - Using Message Queue with djangoLife in a Queue - Using Message Queue with django
Life in a Queue - Using Message Queue with django
 
Using Apache Camel as AKKA
Using Apache Camel as AKKAUsing Apache Camel as AKKA
Using Apache Camel as AKKA
 
Message queues
Message queuesMessage queues
Message queues
 
Messaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQMessaging Standards and Systems - AMQP & RabbitMQ
Messaging Standards and Systems - AMQP & RabbitMQ
 
Trivadis TechEvent 2016 Apache Kafka - Scalable Massage Processing and more! ...
Trivadis TechEvent 2016 Apache Kafka - Scalable Massage Processing and more! ...Trivadis TechEvent 2016 Apache Kafka - Scalable Massage Processing and more! ...
Trivadis TechEvent 2016 Apache Kafka - Scalable Massage Processing and more! ...
 
Enterprise messaging
Enterprise messagingEnterprise messaging
Enterprise messaging
 
RestMS Introduction
RestMS IntroductionRestMS Introduction
RestMS Introduction
 

Plus de rocketcircus (7)

Descriptor Protocol
Descriptor ProtocolDescriptor Protocol
Descriptor Protocol
 
Descriptor Protocol
Descriptor ProtocolDescriptor Protocol
Descriptor Protocol
 
Python Academy
Python AcademyPython Academy
Python Academy
 
intro to scikits.learn
intro to scikits.learnintro to scikits.learn
intro to scikits.learn
 
AWS Quick Intro
AWS Quick IntroAWS Quick Intro
AWS Quick Intro
 
PyPy 1.5
PyPy 1.5PyPy 1.5
PyPy 1.5
 
Rocket Circus on Code Review
Rocket Circus on Code ReviewRocket Circus on Code Review
Rocket Circus on Code Review
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Message Queues

  • 1. Message Queues Kilian Today, duh
  • 3. What We Need Some kind of message queueing / IPC Send data from A to B send arbitrary messages distributed Reliable Flexible Scalable Fast
  • 4. What We Have Python Twisted XML-RPC arbitrary data: yes distributed: yep Reliable: implementation Flexible: not really ... Scalable: well ... Fast: oh ... Can we have all that, without implementing everything?
  • 5. far too many IPC standards and implementations out there not all are distributed D-Bus MPI Signals some are XML-RPC (SOAP, ...) ”Sun” RPC Are any of those reliable?
  • 6. Reliability What goes in comes out. It does come out. It does come out, even if something goes horribly wrong. If something goes horribly wrong, not everything breaks.
  • 7. AMQP? Doesn’t look like it was designed for IPC. So what? IPC is just a special case of message passing. Does it match our needs? arbitrary messages, distributed, flexible, scalable, reliable if the implementation is not slower then the current XML-RPC, it’s fast enough Instead of searching for a IPC standard / implementation that fits our needs, search for AMQP implementation that fits our needs.
  • 9. Exchanges a message is send to a exchange every message has a routing key the exchange decides, based on the routing key, where to enqueue it. fine graned configuration, how messages from A reach B direct exchange fanout topic exchange
  • 11. Fin Fin