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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
More Decks by Miha Rekar
See All by Miha Rekar
Rails Made My Hobby Profitable
miharekar
0
180
Turbo
miharekar
0
140
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
620
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
470
TBD
miharekar
0
190
Flame Graphs
miharekar
0
620
Other Decks in Technology
See All in Technology
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
230
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
130
属人化したISMS運用をGitHubとAIで仕組み化した1年間の記録
sioncojp
1
850
並列度を下げたら速くなった — go build の重複コンパイルを実測で見る
tomoaki25
2
950
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
190
GCASアップデート(202607-202610)
techniczna
1
240
Sinatra on PicoRuby ローカルでセルフホスト
bash0c7
0
110
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
200
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
530
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
620
[General] 개발자로 해외 기업에서 일하기
skydoves
1
310
AI AgentによるEmbedded SREの取り組み
tgidgd
1
360
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
55
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Exploring anti-patterns in Rails
aemeredith
4
560
Become a Pro
speakerdeck
PRO
31
6.4k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
GraphQLとの向き合い方2022年版
quramy
50
15k
Making Projects Easy
brettharned
120
6.8k
Skip the Path - Find Your Career Trail
mkilby
1
290
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
980
Utilizing Notion as your number one productivity tool
mfonobong
4
640
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
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!