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
160
0
Share
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
140
Turbo
miharekar
0
130
What's new in Rails?
miharekar
0
110
Rails 7.1
miharekar
0
150
Software Developers Are People Too
miharekar
0
170
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
miharekar
2
600
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
450
TBD
miharekar
0
180
Flame Graphs
miharekar
0
580
Other Decks in Technology
See All in Technology
TypeScriptで実現する既存APIを活用したリモートMCPサーバー構築 / TSKaigi 2026
soarteclab
1
240
Personal knowledge bases using LLM
lycorptech_jp
PRO
0
310
ラズパイ & Picoで入門:Zephyr(RTOS)の環境構築からビルドまでの紹介
iotengineer22
0
200
AI時代に改めて考える、ドメイン駆動設計 - モデリングが「AIへの共通言語」になる
littlehands
6
1.6k
ソフトウェアサプライチェーン攻撃対策として今からサクッとできること
flatt_security
2
110
責任あるソフトウェアエンジニアリングの紹介4章・5章 / RSE_Ch4-5
ido_kara_deru
0
290
LLM時代のリファクタリング戦略_AIエージェントによる段階的・安全なTS移行方法
play_inc
0
110
エムスリーテクノロジーズ株式会社 エンジニア向け紹介資料 / M3 Technologies Company Deck
m3_engineering
0
220
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
160
社内RAGの導入で気を付けたポイント
yakumo
2
150
LT準備のToilを削減 〜決定論×確率論のスライド生成CLI〜
shukob
0
120
実例から学ぶ GuardDuty(SSH BruteForce)調査の全体フローと勘所【SecurityJAWS】
cscengineer
PRO
1
200
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Building an army of robots
kneath
306
46k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
How to Ace a Technical Interview
jacobian
281
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
140
Paper Plane
katiecoart
PRO
1
50k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
190
AI: The stuff that nobody shows you
jnunemaker
PRO
7
650
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
240
Paper Plane (Part 1)
katiecoart
PRO
0
7.8k
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!