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
Roo Codeにすべてを委ねるためのルール運用
pharma_x_tech
1
230
障害を回避するHttpClient再入門 / Avoiding Failures HttpClient Reintroduction
uskey512
1
210
ソフトウェアは捨てやすく作ろう/Let's make software easy to discard
sanogemaru
10
5.8k
toittaにOpenTelemetryを導入した話 / Mackerel APM リリースパーティ
cohalz
1
490
What's Next in OpenShift Q2 CY2025
redhatlivestreaming
1
840
セキュリティSaaS企業が実践するCursor運用ルールと知見 / How a Security SaaS Company Runs Cursor: Rules & Insights
tetsuzawa
0
520
KMP導⼊において、マネジャーとして考えた事
sansantech
PRO
1
210
Data Hubグループ 紹介資料
sansan33
PRO
0
1.8k
令和最新版TypeScriptでのnpmパッケージ開発
lycorptech_jp
PRO
0
110
大手企業のAIツール導入の壁を越えて:サイバーエージェントのCursor活用戦略
gunta
23
6.3k
Swiftは最高だよの話
yuukiw00w
2
290
Devin&Cursor、それぞれの「本質」から導く最適ユースケース戦略
empitsu
8
2.5k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
GraphQLとの向き合い方2022年版
quramy
46
14k
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Faster Mobile Websites
deanohume
307
31k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
Automating Front-end Workflow
addyosmani
1370
200k
Art, The Web, and Tiny UX
lynnandtonic
298
21k
Documentation Writing (for coders)
carmenintech
71
4.8k
Statistics for Hackers
jakevdp
799
220k
How to train your dragon (web standard)
notwaldorf
92
6k
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