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
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
160
もりもり新機能を一挙紹介! AgentCoreに入門して、AWS上にAIエージェントを構築しよう
minorun365
PRO
6
450
管理アカウント単一運用からAWS Organizationsに移行するの大変で滅
hiramax
0
360
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
1
130
oracle-to-databricks-migration-with-llm-and-dbt
casek
1
390
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
810
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
180
『家族アルバム みてね』における インシデント対応との向き合い方 / Approach incident response in Family Album
kohbis
2
280
はじめてのDatadog
kairim0
0
240
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
310
電子辞書Brainをネットに繋げてみた(自力編)
raspython3
0
390
JJUG CCC 2026 Spring AI時代の開発こそ標準化を武器に! ― 方式・プロセス・プラットフォームの標準化
s27watanabe
2
640
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
190
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
440
Building an army of robots
kneath
306
46k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Everyday Curiosity
cassininazir
0
220
Google's AI Overviews - The New Search
badams
0
1k
GitHub's CSS Performance
jonrohan
1033
470k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.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!