Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Kamal 2.x
Search
Miha Rekar
October 11, 2024
Technology
180
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
Transcript
9 slides
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!
More Decks by Miha Rekar
See All by Miha Rekar
Rails Made My Hobby Profitable
miharekar
0
180
Turbo
miharekar
0
150
What's new in Rails?
miharekar
0
130
Rails 7.1
miharekar
0
170
Software Developers Are People Too
miharekar
0
180
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
miharekar
2
630
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
470
TBD
miharekar
0
200
Flame Graphs
miharekar
0
620
Other Decks in Technology
See All in Technology
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
620
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
590
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
150
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
300
マネージャーをエスパーにしない マネジメントされる側から始める、働きやすい現場づくり
comi190327
1
840
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
150
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
650
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
260
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
120
20261113_JAWS_Osaka
takuyay0ne
1
600
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
190
E2E Test というハーネス — AI時代の自動テスト民主化
daishukojima
10
5.9k
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
550
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Faster Mobile Websites
deanohume
310
32k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Crafting Experiences
bethany
1
450
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
A Soul's Torment
seathinner
9
3.9k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
350
Done Done
chrislema
187
17k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
390
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
580