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
130
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
Rails Made My Hobby Profitable
miharekar
0
87
Turbo
miharekar
0
110
What's new in Rails?
miharekar
0
100
Rails 7.1
miharekar
0
130
Software Developers Are People Too
miharekar
0
160
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
miharekar
2
590
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
440
TBD
miharekar
0
160
Flame Graphs
miharekar
0
550
Other Decks in Technology
See All in Technology
ビジュアルプログラミングIoTLT vol.22
1ftseabass
PRO
0
140
書籍執筆での生成AIの活用
sat
PRO
1
200
コミュニティが持つ「学びと成長の場」としての作用 / RSGT2026
ama_ch
2
470
AWSと暗号技術
nrinetcom
PRO
1
160
アウトプットはいいぞ / output_iizo
uhooi
0
140
re:Inventで見つけた「運用を捨てる」技術。
ezaki
1
140
クラウドセキュリティの進化 — AWSの20年を振り返る
kei4eva4
0
160
AI時代にあわせたQA組織戦略
masamiyajiri
2
1.2k
フロントエンド開発者のための「厄払い」
optim
0
150
Databricks Free Edition講座 データエンジニアリング編
taka_aki
0
2.8k
ファインディにおけるフロントエンド技術選定の歴史
puku0x
2
1.6k
新規事業 toitta におけるAI 機能評価の話 / AI Feature Evaluation in toitta
pokutuna
0
250
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
130
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
110
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
170
Claude Code のすすめ
schroneko
67
210k
Agile that works and the tools we love
rasmusluckow
331
21k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
280
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
82
How to build a perfect <img>
jonoalderson
1
4.9k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
120
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
420
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
120
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!