rabbitmq
DESCRIPTION
slides to a talk about RabbitMQ I gave at erlounge wellington in july 2009.TRANSCRIPT
RabbitMQ
AMQPAdvanced Message Queuing Protocol
Why?
• open industry standard
• not language dependent
• open and commercial implementations on both ends
• some big players on board
• Barclays Bank PLC • Cisco Systems, Inc. • Credit Suisse • Deutsche Börse Systems • Envoy Technologies Inc. • Goldman Sachs • iMatix Corporation • IONA Technologies • JPMorgan Chase Bank & Co. • Microsoft Corporation • Novell • Rabbit Technologies, a joint venture of CohesiveFT and LShift • Red Hat, Inc. • Solace Systems, Inc. • Tervela, Inc. • TWIST Process Innovations • WSO2, Inc. • 29West Inc.
so, what is messaging?
traditional FIFO
Queue
push pull
messaging
Queue
push push
why is it better?
• lower latency as messages are pushed
• less load “just sit and wait”
• way advanced stuff if you look at AMQP
which is?
• user auth
• loadbalancing
• persistent vs non persistent messages
• advanced message routing
RabbitMQ
RabbitMQ
Exchange
QueueQueue
pretty standard messaging
now starts the fun stuff
RabbitMQ
Queue
RabbitMQ
RabbitMQ
Queue
AMQP
RabbitMQ
XMPP STOMP HTTP
XMPP STOMP HTTPAMQP
AMQP
RabbitMQ
XMPP STOMP HTTP
XMPP STOMP HTTPAMQP
AMQP
RabbitMQ
XMPP STOMP HTTP
XMPP STOMP HTTPAMQP
and that is only queue handling ...
queues
• can be persistent
• can be deleted when empty
• can be deleted when server stops
messages
• can be persistent
• can be in memory only
• might be persisted if not enough memory
client libs?
what was it built for?
• financial systems
• many messages
• fast message transport
• reliable message transport
what is it written in?
obviously ...
how to get started?
• http://rabbitmq.com (get rabbit here)
• http://github.com/norbu09/RabbitIntro (for some small code samples)
• ask: rabbitmq mailing list
or ask me if you are local
@norbu09
thanks
• the RabbitMQ guys for an awesome product
• iWantMyName for letting me play with all that stuff
• many guys on the mailing list for helping me out when i got stuck
• catalyst IT for the venue
credits
• http://www.flickr.com/photos/88586913@N00/
• http://www.flickr.com/photos/drewleavy/
• http://www.flickr.com/photos/revengingangel/
• http://www.flickr.com/photos/oreillygmt/