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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Miha Rekar
October 11, 2024
Technology
140
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
110
Turbo
miharekar
0
120
What's new in Rails?
miharekar
0
110
Rails 7.1
miharekar
0
150
Software Developers Are People Too
miharekar
0
160
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
440
TBD
miharekar
0
170
Flame Graphs
miharekar
0
560
Other Decks in Technology
See All in Technology
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
PRO
3
610
Webアクセシビリティは“もしも”に備える設計
tomokusaba
0
170
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Strands Agents × Amazon Bedrock AgentCoreで パーソナルAIエージェントを作ろう
yokomachi
2
250
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
5
13k
BIツール「Omni」の紹介 @Snowflake中部UG
sagara
0
240
AIドリブン開発の実践知 ― AI-DLC Unicorn Gym実施から見えた可能性と課題
mixi_engineers
PRO
0
120
チームで育てるAI自走環境_20260409
fuktig
0
930
I ran an automated simulation of fake news spread using OpenClaw.
zzzzico
1
980
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.2k
Cortex Codeでデータの仕事を全部Agenticにやりきろう!
gappy50
0
320
ふりかえりを 「あそび」にしたら、 学習が勝手に進んだ / Playful Retros Drive Learning
katoaz
0
390
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
270
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
450
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
The Language of Interfaces
destraynor
162
26k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
96
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
390
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
Raft: Consensus for Rubyists
vanstee
141
7.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
230
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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!