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
Kamal 2.x
Search
Miha Rekar
October 11, 2024
Technology
0
110
Kamal 2.x
A lightning talk given at Slovenia Ruby User Group on 10th October 2024.
Miha Rekar
October 11, 2024
Tweet
Share
More Decks by Miha Rekar
See All by Miha Rekar
Turbo
mrfoto
0
87
What's new in Rails?
mrfoto
0
83
Rails 7.1
mrfoto
0
120
Software Developers Are People Too
mrfoto
0
150
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
mrfoto
2
570
What Are Flame Graphs and How to Read Them - DevConTLV X
mrfoto
0
420
TBD
mrfoto
0
150
Flame Graphs
mrfoto
0
500
What is this hipster graph thingy?
mrfoto
0
160
Other Decks in Technology
See All in Technology
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
150
KubeCon + CloudNativeCon Japan 2025 Recap by CA
ponkio_o
PRO
0
290
Connect 100+を支える技術
kanyamaguc
0
180
Tokyo_reInforce_2025_recap_iam_access_analyzer
hiashisan
0
170
CursorによるPMO業務の代替 / Automating PMO Tasks with Cursor
motoyoshi_kakaku
2
910
無意味な開発生産性の議論から抜け出すための予兆検知とお金とAI
i35_267
3
11k
敢えて生成AIを使わないマネジメント業務
kzkmaeda
1
250
KubeCon + CloudNativeCon Japan 2025 に行ってきた! & containerd の新機能紹介
honahuku
0
120
ネットワーク保護はどう変わるのか?re:Inforce 2025最新アップデート解説
tokushun
0
180
改めてAWS WAFを振り返る~業務で使うためのポイント~
masakiokuda
2
230
Operating Operator
shhnjk
0
430
Tech-Verse 2025 Keynote
lycorptech_jp
PRO
0
1.7k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
Writing Fast Ruby
sferik
628
62k
The Language of Interfaces
destraynor
158
25k
Scaling GitHub
holman
459
140k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Typedesign – Prime Four
hannesfritz
42
2.7k
Code Reviewing Like a Champion
maltzj
524
40k
It's Worth the Effort
3n
185
28k
Unsuck your backbone
ammeep
671
58k
Transcript
Miha Rekar Lightning talk Kamal 2.x
Migration Expert • Last several blog posts all about migrations:
• SES -> Postmark and (ab)using generates_token_for for List-Unsubscribe Headers • Pagy -> Turbo with in inite scrolling* • Devise to native Rails 8 Auth* • Fly.io to Hetzner with Kamal 2† *on Radan’s blog † WIP
ECT Business • https://business.europeancoffeetrip.com/ • Postgres DB • Small number
of users • Café Awards • Huge traffic spike • Fly gets expensive real fast • How hard can it be?
None
All the metrics
Just add accessories • kamal accessory boot prometheus • kamal
accessory boot node_exporter • kamal accessory boot cadvisor • kamal accessory boot grafana • Add a simple prometheus.yml
Hetzner • All in a single CAX11 ARM VM •
4f the RAM and 2f CPU of Fly • 1/8th the price • Response times slashed in half • No traffic bottlenecks (yet) • Much faster and zero-downtime deploys
Just Do It # • Already hosted a couple of
tiny services • This gave me con idence • Visualizer next • What are you migrating? • 20× Hetzner credits $
Thank you!