• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
AMQP and RabbitMQ (OKCJUG, January 2014)
 

AMQP and RabbitMQ (OKCJUG, January 2014)

on

  • 604 views

Introduction to AMQP and RabbitMQ

Introduction to AMQP and RabbitMQ

Statistics

Views

Total Views
604
Views on SlideShare
604
Embed Views
0

Actions

Likes
0
Downloads
38
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

    AMQP and RabbitMQ (OKCJUG, January 2014) AMQP and RabbitMQ (OKCJUG, January 2014) Presentation Transcript

    • AMQP Messaging OKCJUG - January 2014 - Ryan Hoegg
    • Messaging? Notify another system Work queue Decouple deployments
    • The Broker Accepts messages from publishers Delivers messages to consumers
    • Queue X
    • Queue X
    • Publish / Subscribe Consumers can listen when they want Many consumers could get the message
    • Open standard for messaging middleware Defines a networking protocol Defines semantics of broker services
    • The Message Payload (byte[]) Attributes (key/value pairs)
    • Queue
    • Queue
    • Queue name attributes durable exclusive auto-delete arguments
    • Exchange
    • Exchange name type attributes durable auto-delete arguments
    • Binding Rule used by exchange to route messages to a queue Has optional routing key
    • Fanout Exchange Simple pub/sub Message routed to every queue bound to the exchange Routing key is ignored
    • Direct Exchange Simple point-to-point Message routed to queue if routing key matches binding exactly
    • Topic Exchange Message routed to queue based on routing-key match Use dots within queue names and wildcards in routing keys
    • Setting things up Programmable: clients declare everything Most servers come with management tools too, though
    • Version Confusion AMQP 0.9.1 widely implemented AMQP 1.0 approved in October They are very different
    • Servers RabbitMQ: http://www.rabbitmq.com/ OpenAMQ: http://www.openamq.org Apache Qpid: http://qpid.apache.org/
    • AMQP Alternatives JMS (ActiveMQ is pretty good) ZeroMQ Amazon SQS IronMQ pubsubhubbub (RESTful) redis
    • Installation Provides installer for Windows, OSX, several linux distributions, solaris Uses erlang runtime
    • Management Plugin $ rabbitmq-plugins enable rabbitmq_management
    • Distributed Brokers Clustering HA Queues Federation Shovel