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
Handling Failure in RabbitMQ
Search
Lorna Mitchell
May 17, 2017
Technology
0
870
Handling Failure in RabbitMQ
Lightning talk at the DataLayer event in Austin
Lorna Mitchell
May 17, 2017
Tweet
Share
More Decks by Lorna Mitchell
See All by Lorna Mitchell
Introduction to OpenAPI Specification
lornajane
1
580
Create PDFs from markup with rst2pdf
lornajane
2
670
Serverless Microservices are the New Black
lornajane
3
92
Serverless Computing with Apache OpenWhisk
lornajane
0
82
Build A Serverless Data Pipeline
lornajane
1
690
SQL, NoSQL and Beyond
lornajane
0
920
Build a Serverless Data Pipeline
lornajane
1
970
Road Trip Through Database Country
lornajane
1
900
Serverless Microservices Are The New Black
lornajane
1
99
Other Decks in Technology
See All in Technology
VS CodeでAWSを操作しよう
smt7174
8
1.7k
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
200
データベース02: データベースの概念
trycycle
0
160
Terraformあれやこれ/terraform-this-and-that
emiki
8
1.4k
JAWS-UG Bedrock Claude Night
yamahiro
3
610
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
240
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
240
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
210
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
100
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
360
Meta Quest 3 で動く桜マシマシ WebXR アプリを IBM Cloud Code Engine と Babylon.js で作った話
1ftseabass
PRO
0
120
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
For a Future-Friendly Web
brad_frost
172
9k
Become a Pro
speakerdeck
PRO
11
4.5k
Building an army of robots
kneath
300
41k
A designer walks into a library…
pauljervisheath
200
23k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
The Language of Interfaces
destraynor
151
23k
Fantastic passwords and where to find them - at NoRuKo
philnash
37
2.5k
[RailsConf 2023] Rails as a piece of cake
palkan
23
4k
Practical Orchestrator
shlominoach
182
9.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Transcript
Handling Failure in RabbitMQ Lorna Mitchell, IBM https://speakerdeck.com/lornajane
Queues and RabbitMQ • Queues are a brilliant addition to
any application • They introduce coupling points • RabbitMQ is an open source, powerful message queue • https://www.rabbitmq.com @lornajane
A Selection Box Of Failures @lornajane
Message Not Processed Question: Better late than never? @lornajane
Implementing Retries RabbitMQ doesn't have built in support but: 1.
Identify message should be retried 2. Create a new message with same data 3. Add retry count/date 4. Ack the original message 5. Reject after X attempts @lornajane
Can Never Process Message Be Defensive: Fail when you can
Optionally: use a dead letter exchange @lornajane
Dead Letter Exchanges @lornajane
Reincarnating Messages From the dead letter exchange we usually: •
monitor and log what arrives • collect messages, then re-route to original destination when danger has passed @lornajane
Healthy Queues Good metrics avoid nasty surprises As a minimum:
queue size, worker uptime, processing time @lornajane
Choose How To Fail @lornajane
Thanks! Blog post: http://lrnja.net/rabbitfail Personal blog: https://lornajane.net Try RabbitMQ: •
https://rabbitmq.com/ • https://bluemix.net @lornajane