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
130
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
130
Nodecopter by Felix Geisendoerfer
railsberry
0
90
Creative machines by Joseph Wilk
railsberry
1
110
Internal tools by Keavy McMinn
railsberry
1
160
Solid as diamond by Paolo Perego
railsberry
1
140
Future of Online Education by Gregg Pollack
railsberry
3
140
Lessons from the Masters by Geoffrey Grosenbach
railsberry
0
89
Go - a simple programming environment by Andrew Gerrand
railsberry
12
2.6k
Zero-confidence by Katrina Owen
railsberry
4
1k
Other Decks in Technology
See All in Technology
開発生産性向上サービスを作るFindyが自分たちで開発生産性を爆上げした組織づくりの歩み / Findy's path to boosting its own development productivity 2024-04-17
ma3tk
3
640
MySQL の SQL クエリチューニングの要所を掴む勉強会
andpad
2
6.2k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
510
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.6k
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
240
Java EE/Jakarta EEの現状と将来―クラウドネイティブ時代にJava EEは対応できるのか?―
takakiyo
1
140
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
330
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
2
450
SPI原点回帰論:事業課題とFour Keysの結節点を見出す実践的ソフトウェアプロセス改善 / DevOpsDays Tokyo 2024
visional_engineering_and_design
4
1.9k
Compose Compiler Metricsを使った実践的なコードレビュー
tomorrowkey
1
220
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
2
2.1k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
272
22k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
Building Your Own Lightsaber
phodgson
99
5.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Faster Mobile Websites
deanohume
299
30k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
Code Reviewing Like a Champion
maltzj
514
39k
Thoughts on Productivity
jonyablonski
58
3.8k
The Cult of Friendly URLs
andyhume
74
5.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Writing Fast Ruby
sferik
621
60k
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