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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
170
Turbo
miharekar
0
140
What's new in Rails?
miharekar
0
130
Rails 7.1
miharekar
0
160
Software Developers Are People Too
miharekar
0
180
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
miharekar
2
620
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
460
TBD
miharekar
0
190
Flame Graphs
miharekar
0
620
Other Decks in Technology
See All in Technology
専門領域のAIをどう評価するか
bengo4com
2
290
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
350
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
300
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
5
1.3k
今さら理解するウェブフォントver.2026
takanorip
3
900
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
400
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
130
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
120
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
PRO
0
440
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
160
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
230
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Prompt Engineering for Job Search
mfonobong
0
520
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
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!