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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Miha Rekar
October 11, 2024
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kamal 2.x
A lightning talk given at Slovenia Ruby User Group on 10th October 2024.
Miha Rekar
October 11, 2024
More Decks by Miha Rekar
See All by Miha Rekar
Rails Made My Hobby Profitable
miharekar
0
160
Turbo
miharekar
0
140
What's new in Rails?
miharekar
0
120
Rails 7.1
miharekar
0
160
Software Developers Are People Too
miharekar
0
170
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
miharekar
2
610
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
450
TBD
miharekar
0
190
Flame Graphs
miharekar
0
610
Other Decks in Technology
See All in Technology
わたしが知り合いゼロの勉強会に 行けるようになるまで
r5ni4
2
790
三人寄ればチューリング完全
puhitaku
6
3.2k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.5k
Rust×eBPFでEDRっぽいものをつくる
sunlife3
2
970
Android skills に学ぶ
kokiko
0
180
AWSとAzureのマルチクラウド活用における強い味方___AWS_Kiroを使った二刀流スキル作成.pdf
duelist2020jp
0
110
AI for Science時代を切り開く、政府の次世代HPC戦略の展望
gpuunite_official
0
250
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.3k
Digitization部 紹介資料
sansan33
PRO
2
7.7k
AI時代の「OAuth認証」にどう物申すか?(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
250
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
280
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
460
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.5k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
220
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
580
Chasing Engaging Ingredients in Design
codingconduct
0
280
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Navigating Weather and Climate Data
rabernat
0
490
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
500
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
57k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
810
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!