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
110
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
Turbo
mrfoto
0
88
What's new in Rails?
mrfoto
0
83
Rails 7.1
mrfoto
0
120
Software Developers Are People Too
mrfoto
0
150
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
mrfoto
2
570
What Are Flame Graphs and How to Read Them - DevConTLV X
mrfoto
0
430
TBD
mrfoto
0
150
Flame Graphs
mrfoto
0
500
What is this hipster graph thingy?
mrfoto
0
160
Other Decks in Technology
See All in Technology
Core Audio tapを使ったリアルタイム音声処理のお話
yuta0306
0
190
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
27k
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
120
2025-07-06 QGIS初級ハンズオン「はじめてのQGIS」
kou_kita
0
170
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
300
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
130k
United airlines®️ USA Contact Numbers: Complete 2025 Support Guide
unitedflyhelp
0
310
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
270
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
960
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
230
CDKTFについてざっくり理解する!!~CloudFormationからCDKTFへ変換するツールも作ってみた~
masakiokuda
1
140
第4回Snowflake 金融ユーザー会 Snowflake summit recap
tamaoki
1
280
Featured
See All Featured
For a Future-Friendly Web
brad_frost
179
9.8k
The Language of Interfaces
destraynor
158
25k
KATA
mclloyd
30
14k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Designing for Performance
lara
610
69k
It's Worth the Effort
3n
185
28k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
How to train your dragon (web standard)
notwaldorf
95
6.1k
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!