WTF Is Messaging And Why You Should Use It?
Upcoming SlideShare
Loading in...5
×
 

WTF Is Messaging And Why You Should Use It?

on

  • 18,314 views

 

Statistics

Views

Total Views
18,314
Views on SlideShare
7,043
Embed Views
11,271

Actions

Likes
20
Downloads
121
Comments
1

16 Embeds 11,271

http://www.rubyinside.com 10776
http://ruby.collected.info 298
http://blog.101ideas.cz 83
url_unknown 67
http://www.slideshare.net 10
http://webcache.googleusercontent.com 8
http://feeds.feedburner.com 8
http://www.techgig.com 4
http://feedproxy.google.com 4
https://twitter.com 4
http://twitter.com 2
http://xianguo.com 2
http://bgror.com 2
http://translate.googleusercontent.com 1
https://www.google.com 1
http://www.google.com 1
More...

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…
  • Saying that messaging protocols (either AMQP or in general) are async is simply wrong. Even JMS supports request-reply patterns. But nice slides and work indeed. Appreciated. Anyway - no update on github for over an year now? What happened? ;-)
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • Sockets can be more advanced than just simple unix sockets, for example ZeroMQ sockets.\n\nThe following slide is the pull vs. push comic.\n
  • \n
  • \n
  • The following slide is the tracer screenshot.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

WTF Is Messaging And Why You Should Use It? WTF Is Messaging And Why You Should Use It? Presentation Transcript

  • WTF Is Messaging And Why You Should Use It? @botanicus RabbitMQ team of VMwareSunday, 12 June 2011
  • I slept only 3 hours, Club-mate is the only thing which keeps me goin’ ... but I’ll do my best :) Club-mate FTW!Sunday, 12 June 2011
  • About Me Ruby & JS contractor RabbitMQ team of VMware London, UK http://twitter.com/botanicus http://blog.101ideas.czSunday, 12 June 2011 View slide
  • What Is Messaging? Sending messages between isolated entities (usually apps, but can be also threads, as in Erlang). Usually through a messaging broker. Asynchronous, suitable for distributed systems. Push, not pull.Sunday, 12 June 2011 View slide
  • From http://www.j5live.comSunday, 12 June 2011
  • How Can You Benefit? Better design of apps. Scalability. Robustness.Sunday, 12 June 2011
  • #1 Better Design, Easier Maintainance Decoupling -> small, isolated apps. Greatly reduces complexity. Isolation -> its easy to rewrite just the critical parts into Java or C. Simple integration with legacy systems, no need to rewrite everything. Its dead-easy to inspect whats going through.Sunday, 12 June 2011
  • Sunday, 12 June 2011
  • #2 Scalability Improve responsiveness by doing CPU-intensive tasks later in an asynchronous manner. Scale only the parts which requires it.Sunday, 12 June 2011
  • Sunday, 12 June 2011
  • Sunday, 12 June 2011
  • #3 Robustness Backend deployment with no downtime (see the schema). Message persistency. Acknowledgements (Ive done it, send me the next task).Sunday, 12 June 2011
  • What if the service would go offline?Sunday, 12 June 2011
  • Sunday, 12 June 2011
  • Pub/Sub Publishers do not send messages to specific subscribers. Published messages are characterised into classes, without knowledge of the subscribers. Subscribers express interest in some classes, and only receive messages they want.Sunday, 12 June 2011
  • Sunday, 12 June 2011
  • Other Use-Cases From a browser utilising websockets (games development etc). Remote procedure call.Sunday, 12 June 2011
  • #1 AMQP in BBC Realtime Tweets Processing. As middlewares (download, process, store to S3). 1000 tweets/sec = about 90 million a day.Sunday, 12 June 2011
  • Protocols & APIs AMQP STOMP: HTTP-like protocol, headers & body, request/response JMS Amazon Simple Queue Service XMPP (well, kind of) WebsocketsSunday, 12 June 2011
  • AMQP Invented by JP Morgan. Most widely used. Binary protocol with minimal overhead. http://www.rabbitmq.com/getstarted.htmlSunday, 12 June 2011
  • Sunday, 12 June 2011
  • RabbitMQ AMQP natively, STOMP, XMPP by plugins. Most widely used OSS AMQP broker. A lot of plugins available, writing new ones is quite easy (Erlang).Sunday, 12 June 2011
  • ZeroMQ Brokerless, provides socket-like API. Supports advanced routing. Leads to decentralised architecture.Sunday, 12 June 2011
  • Sunday, 12 June 2011
  • Questions please!Sunday, 12 June 2011
  • Cheers for your attention!Sunday, 12 June 2011