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
150
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
96
Creative machines by Joseph Wilk
railsberry
1
140
Internal tools by Keavy McMinn
railsberry
1
180
Solid as diamond by Paolo Perego
railsberry
1
180
Future of Online Education by Gregg Pollack
railsberry
3
170
Lessons from the Masters by Geoffrey Grosenbach
railsberry
0
96
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
単一Gitリポジトリから独立しました
lycorptech_jp
PRO
0
340
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.3k
おれのAI活用の現状とこれから
tsukasagr
0
110
Introduction to Bill One Development Engineer
sansan33
PRO
0
240
ソフトウェアは捨てやすく作ろう/Let's make software easy to discard
sanogemaru
10
6.2k
Generational ZGCのメモリ運用改善 - その物理メモリ使用量、本当に正しい?
tabatad
0
260
Flutterアプリを⾃然⾔語で操作する
yukisakai1225
0
200
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
やさしいClaude Code入門
minorun365
PRO
40
32k
Cursor Meetup Tokyo
iamshunta
5
1.4k
Drawing with LLMs
rist
0
160
ソフトウェアテストのAI活用_ver1.20
fumisuke
0
200
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
The Language of Interfaces
destraynor
158
25k
Faster Mobile Websites
deanohume
307
31k
The Cost Of JavaScript in 2023
addyosmani
49
8.3k
Building Adaptive Systems
keathley
42
2.6k
Building an army of robots
kneath
306
45k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
860
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