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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Miha Rekar
October 11, 2024
Technology
0
130
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
Rails Made My Hobby Profitable
miharekar
0
91
Turbo
miharekar
0
110
What's new in Rails?
miharekar
0
100
Rails 7.1
miharekar
0
140
Software Developers Are People Too
miharekar
0
160
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
miharekar
2
590
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
440
TBD
miharekar
0
160
Flame Graphs
miharekar
0
550
Other Decks in Technology
See All in Technology
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
800
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
3
500
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
250
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
570
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
5
270
なぜAIは チーム開発を 速くしないのか
tan_go238
1
1k
チーム開発の基礎_研究を事業につなげるために
cyberagentdevelopers
PRO
0
130
個人的3D Gaussian Splattingニュースをご紹介 / sharing 3d gaussian splatting news
drumath2237
0
160
pool.ntp.orgに ⾃宅サーバーで 参加してみたら...
tanyorg
1
2.6k
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
230
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
450
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
1
1k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
120
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
210
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
360
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
88
Unsuck your backbone
ammeep
671
58k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Mind Mapping
helmedeiros
PRO
1
93
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Evolving SEO for Evolving Search Engines
ryanjones
0
130
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!