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
170
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Message Queues by Mathias Meyer
Watch the video here:
https://vimeo.com/68698333
Railsberry
April 22, 2013
More Decks by Railsberry
See All by Railsberry
Shipping Post-PC by Antek Piechnik & Marcin Bunsch
railsberry
0
230
Nodecopter by Felix Geisendoerfer
railsberry
0
140
Creative machines by Joseph Wilk
railsberry
1
180
Internal tools by Keavy McMinn
railsberry
1
200
Solid as diamond by Paolo Perego
railsberry
1
220
Future of Online Education by Gregg Pollack
railsberry
3
210
Lessons from the Masters by Geoffrey Grosenbach
railsberry
0
130
Go - a simple programming environment by Andrew Gerrand
railsberry
12
2.8k
Zero-confidence by Katrina Owen
railsberry
4
1.5k
Other Decks in Technology
See All in Technology
脱Jenkins、インターン生が挑んだCIツールGitHubActions移行
mixi_engineers
PRO
1
290
ガバメントクラウドでのランサムウェア対策
techniczna
1
310
運用を犠牲にせずコストを制御し事業成長を支える B2B SaaS ID管理基盤におけるS3 Tableのログストレージ活用
kaminashi
1
120
システム監視入門
grimoh
5
770
13年運用タイトルのサーバーサイドが辿り着いた現在地 ― モンスターストライクにおける技術・組織・AI活用から得た知見
mixi_engineers
PRO
1
350
カメラ×AIで挑む「ホワイト物流」― 車両管理、自動化の壁と突破口【SORACOM Discovery 2026】
soracom
PRO
0
180
PLaMo 3.0 Primeの事後学習
pfn
PRO
0
210
AIで楽になるはずが、なぜ疲れる?
kinopeee
0
150
なぜ、あなたのエージェントは言うことを聞かないのか
segavvy
1
590
AI Agent を本番環境へ―― Microsoft Foundry × Azure Serverless で作る Enterprise-Ready な基盤
shibayan
PRO
1
920
データ活用研修 データマネジメント【MIXI 26新卒技術研修】
mixi_engineers
PRO
4
820
plamo-3-translateの開発
pfn
PRO
0
220
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
230
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
350
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Chasing Engaging Ingredients in Design
codingconduct
0
250
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
190
Balancing Empowerment & Direction
lara
6
1.2k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Visualization
eitanlees
152
17k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
560
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.5k
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