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
Miha Rekar
October 11, 2024
Technology
170
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
170
Turbo
miharekar
0
140
What's new in Rails?
miharekar
0
120
Rails 7.1
miharekar
0
160
Software Developers Are People Too
miharekar
0
170
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
460
TBD
miharekar
0
190
Flame Graphs
miharekar
0
620
Other Decks in Technology
See All in Technology
自分で立ててみるLLMサービス
y_sera15
0
130
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
230
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
4
1.1k
React Nativeでの OTA Updateって、 どう説明する?
ichiki1023
0
150
自主式軟體工廠
philipz
0
230
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
310
Codex概要
ymiya55
0
440
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
0
270
ミイダス株式会社 テックチームのご紹介 / MIIDAS Tech Team
miidas
0
160
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
330
SDDの運用にめげずに向き合った話
sansantech
PRO
1
130
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
3
1.5k
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Test your architecture with Archunit
thirion
2
2.4k
A better future with KSS
kneath
240
18k
Skip the Path - Find Your Career Trail
mkilby
1
240
Between Models and Reality
mayunak
4
480
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
740
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
It's Worth the Effort
3n
188
29k
Color Theory Basics | Prateek | Gurzu
gurzu
1
480
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!