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
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
230
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
120
Package Management Learnings from Homebrew
mikemcquaid
0
220
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
690
Oxlint JS plugins
kazupon
1
910
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.1k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
「ブロックテーマでは再現できない」は本当か?
inc2734
0
970
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
100
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
260
Featured
See All Featured
Done Done
chrislema
186
16k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
66
The SEO identity crisis: Don't let AI make you average
varn
0
240
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Building an army of robots
kneath
306
46k
Why Our Code Smells
bkeepers
PRO
340
58k
Side Projects
sachag
455
43k
Docker and Python
trallard
47
3.7k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
How GitHub (no longer) Works
holman
316
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
From π to Pie charts
rasagy
0
120
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