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
Message Queues by Mathias Meyer
Search
Railsberry
April 22, 2013
Technology
1
160
Message Queues by Mathias Meyer
Watch the video here:
https://vimeo.com/68698333
Railsberry
April 22, 2013
Tweet
Share
More Decks by Railsberry
See All by Railsberry
Shipping Post-PC by Antek Piechnik & Marcin Bunsch
railsberry
0
170
Nodecopter by Felix Geisendoerfer
railsberry
0
100
Creative machines by Joseph Wilk
railsberry
1
140
Internal tools by Keavy McMinn
railsberry
1
190
Solid as diamond by Paolo Perego
railsberry
1
180
Future of Online Education by Gregg Pollack
railsberry
3
180
Lessons from the Masters by Geoffrey Grosenbach
railsberry
0
97
Go - a simple programming environment by Andrew Gerrand
railsberry
12
2.8k
Zero-confidence by Katrina Owen
railsberry
4
1.3k
Other Decks in Technology
See All in Technology
Bet "Bet AI" - Accelerating Our AI Journey #BetAIDay
layerx
PRO
1
370
Datasets for Critical Operations by Dataform
kimujun
0
130
「育てる」サーバーレス 〜チーム開発研修で学んだ、小さく始めて大きく拡張するAWS設計〜
yu_kod
1
210
解消したはずが…技術と人間のエラーが交錯する恐怖体験
lamaglama39
0
150
TypeScript 上達の道
ysknsid25
23
5k
経理出身PdMがAIプロダクト開発を_ハンズオンで学んだ話.pdf
shunsukenarita
1
260
興味の胞子を育て 業務と技術に広がる”きのこ力”
fumiyasac0921
0
450
【CEDEC2025】大規模言語モデルを活用したゲーム内会話パートのスクリプト作成支援への取り組み
cygames
PRO
1
540
【CEDEC2025】『Shadowverse: Worlds Beyond』二度目のDCG開発でゲームをリデザインする~遊びやすさと競技性の両立~
cygames
PRO
1
160
金融サービスにおける高速な価値提供とAIの役割 #BetAIDay
layerx
PRO
0
190
「AI駆動開発」のボトルネック『言語化』を効率化するには
taniiicom
1
230
AIエージェントを支える設計
tkikuchi1002
12
2.6k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Side Projects
sachag
455
43k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
770
Building Flexible Design Systems
yeseniaperezcruz
328
39k
RailsConf 2023
tenderlove
30
1.2k
Producing Creativity
orderedlist
PRO
346
40k
How to Ace a Technical Interview
jacobian
278
23k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Thoughts on Productivity
jonyablonski
69
4.8k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Transcript
the message queue is dead railsberry 2013, mathias meyer, @roidrage
travis-ci.org
None
None
None
the golden rules of message queues
#1 everything is a queue
www email upload live updates
rabbitmq activemq mqseries nsq beanstalkd sqs gearman qless kafka kestrel
qpid sidekiq resque zeromq celery mqseries stormmq amqp jms hornetq swiftmq delayed_job
tasks
publish/subscribe
publish/subscribe
broker
None
log streaming databass
None
unbounded queues
#2 a queue is either empty or infinitely full
the art of capacity planning
50 msg * 60 seconds * 30 minutes = 90000
msg
peak capacity: 120 msg/s
90000 msg / 120 msg/s = 12,5 min
None
#3 whenever something breaks, it's a queue backing up or
dropping messages
None
databass x x P x
None
retry databass x x P x
exponential backoff databass x x P x
handling queues involves business decisions
a thought experiment
message queues introduce tight coupling
hide the queue api
api
api
the queue is dead, long live the queue
no berries were harmed © railsberry