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
180
Nodecopter by Felix Geisendoerfer
railsberry
0
110
Creative machines by Joseph Wilk
railsberry
1
150
Internal tools by Keavy McMinn
railsberry
1
190
Solid as diamond by Paolo Perego
railsberry
1
190
Future of Online Education by Gregg Pollack
railsberry
3
180
Lessons from the Masters by Geoffrey Grosenbach
railsberry
0
100
Go - a simple programming environment by Andrew Gerrand
railsberry
12
2.8k
Zero-confidence by Katrina Owen
railsberry
4
1.4k
Other Decks in Technology
See All in Technology
嗚呼、当時の本番環境の状態で AI Agentを再評価したいなぁ...
po3rin
0
420
"おまじない"はもう卒業! デバッガで探るSpring Bootの裏側と「学び方」の学び方
takeuchi_132917
0
160
Flutterにしてよかった?出前館アプリを2年運用して気づいたことを全部話します
demaecan
0
180
身近なCSVを活用する!AWSのデータ分析基盤アーキテクチャ
koosun
0
830
お試しで oxlint を導入してみる #vuefes_aftertalk
bengo4com
2
1.5k
【M3】攻めのセキュリティの実践!プロアクティブなセキュリティ対策の実践事例
axelmizu
0
160
「もっと正確に、もっと効率的に」ANDPADの写真書き込み機能における、 現場の声を形にしたエンハンス
andpad
0
110
Claude Code 10連ガチャ
uhyo
3
690
Dart and Flutter MCP serverで実現する AI駆動E2Eテスト整備と自動操作
yukisakai1225
0
520
今、MySQLのバックアップを作り直すとしたら何がどう良いのかを考える旅
yoku0825
1
380
米軍Platform One / Black Pearlに学ぶ極限環境DevSecOps
jyoshise
1
370
⽣成 AI で進化する AWS オブザーバビリティ
o11yfes2023
0
120
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Making Projects Easy
brettharned
120
6.5k
How to train your dragon (web standard)
notwaldorf
97
6.4k
We Have a Design System, Now What?
morganepeng
54
7.9k
Code Reviewing Like a Champion
maltzj
527
40k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
320
Building an army of robots
kneath
306
46k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
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