Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
RabbitMQ and EasyNetQ
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ken Taylor
January 08, 2013
Programming
1
140
RabbitMQ and EasyNetQ
Presentation given to the Hampton Roads .NET Users Group January 2013
Ken Taylor
January 08, 2013
Tweet
Share
More Decks by Ken Taylor
See All by Ken Taylor
Google BigQuery for the Big Data win
switchspan
0
48
Ruby 2.0 Keyword Arguments
switchspan
0
120
Github Back to Basics
switchspan
1
66
Lighten the load with RabbitMQ
switchspan
0
180
Other Decks in Programming
See All in Programming
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
230
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
CSC307 Lecture 04
javiergs
PRO
0
660
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
CSC307 Lecture 03
javiergs
PRO
1
490
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
WCS-LA-2024
lcolladotor
0
450
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
How to build a perfect <img>
jonoalderson
1
4.9k
sira's awesome portfolio website redesign presentation
elsirapls
0
150
Practical Orchestrator
shlominoach
191
11k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
First, design no harm
axbom
PRO
2
1.1k
Embracing the Ebb and Flow
colly
88
5k
Transcript
RabbitMQ and EasyNetQ Ken Taylor (@taylorka) reQuire LLC “Messaging that
just works”
None
RabbitMQ: Who, What? • Developed by SpringSource • Written in
Erlang • Message Broker (MOM) • Advanced Message Queuing Protocol (AMQP)
RabbitMQ: Who, What? • NASA NEBULA Cloud Computing • AMQP
Sponsors –Microsoft –Bank of America –JPMorgan Chase –Et. Al.
None
RabbitMQ: Why? • Distributed • Asynchronous • Easy to use
• Highly fault tolerant
RabbitMQ: Why? "The world is concurrent. Things in the world
don't share data. Things communicate with messages. Things fail.“ - Joe Armstrong
RabbitMQ: The Basics • Exchanges • Queues • Routing •
Channels • Virtual Hosts
Mailbox, Postman & Post office
Exchange Types • Direct • Fanout • Topic • Headers
Direct Exchange
None
Headers exchange routing • Ignores routing key • Headers attributes
used for routing • Can bind a queue using one or more headers • Can route on other values – Integer – Hash/Dictionary – Others
Topic exchange routing • Routing to 1 or more queues
– Message routing key – Pattern for queue binding • Multicast Routing • Consumers choose message to receive
Queues • Store messages • Consumed by applications • Have
properties – Durable – Exclusive – Auto-delete • Declared before use
Channels & Virtual Hosts • Channels – Lightweight connections that
share a single TCP connection • Virtual Hosts – Allows broker to host multiple environments – Similar to virtual hosts on IIS
EasyNetQ: Who, What? • Open source (easynetq.com) • Written by
Mike Hadlow – github.com/mikehadlow • NuGet Package • Sponsored by 15below.com
EasyNetQ: Who, What? • Simple .NET API • Opinionated Implementation
– Trades flexibility for simplicity • Simple conventions – Messages should be represented by .NET types. – Messages should be routed by their .NET type.
EasyNetQ: Why? • Easy to install • Less code •
Serializes to JSON • Simple conventions DEMO
How can I use it today? • Download Erlang OTP
– Erlang.org • Download RabbitMQ – Rabbitmq.com • Install EasyNetQ with NuGet – “Install-Package EasyNetQ”
None
Questions? • Important Links – Rabbitmq.com – Erlang.org – EasyNetq.com
• About Me – Ken Taylor (Twitter @taylorka) – Switchspan.com