Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Message Queues by Mathias Meyer
Search
Railsberry
April 22, 2013
Technology
180
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
150
Creative machines by Joseph Wilk
railsberry
1
180
Internal tools by Keavy McMinn
railsberry
1
210
Solid as diamond by Paolo Perego
railsberry
1
230
Future of Online Education by Gregg Pollack
railsberry
3
210
Lessons from the Masters by Geoffrey Grosenbach
railsberry
0
140
Go - a simple programming environment by Andrew Gerrand
railsberry
12
2.8k
Zero-confidence by Katrina Owen
railsberry
4
1.6k
Other Decks in Technology
See All in Technology
20260912_スクフェス三河
kgnkhkr
0
240
なぜSRE・セキュリティは評価されないのか?守りの組織を事業成長エンジンに変えた実践
cscengineer
PRO
3
2.4k
Multica × 長期記憶:40個のミニプロジェクト管理
eiei114
1
230
WAF 運用改善の承認サイクル/SRE_BizReach_MIXI_1
visional_engineering_and_design
2
410
多摩川(.dev)ランニング入門 / Tamagawa.dev#3
fujiwara3
3
450
Deploying a Full-Stack Bun-Native Framework on Cloudflare Workers
7nohe
0
130
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
1
300
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
280
GoにおけるFFIのこれまでとこれから
goccy
4
2k
AIオーケストレーションを活用した 開発ワークフローの設計と実践
bqnq
0
130
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
440
AI時代に顧客へ最速で価値を 届けるための試行錯誤 〜「AI × マネジメント」領域におけるmentoのケース〜
posterkeisuke
0
110
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
550
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
430
For a Future-Friendly Web
brad_frost
183
10k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Done Done
chrislema
186
16k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
210
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Writing Fast Ruby
sferik
630
63k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
680
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How GitHub (no longer) Works
holman
316
150k
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