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
Zero downtime development with Elixir and Kuber...
Search
Bartosz Górka
March 06, 2019
Technology
55
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Zero downtime development with Elixir and Kubernetes
Zero downtime development with Elixir and Kubernetes by Bartosz Górka
Bartosz Górka
March 06, 2019
More Decks by Bartosz Górka
See All by Bartosz Górka
Programowanie funkcyjne
bartoszgorka96
0
62
Build modern applications with Elixir lang
bartoszgorka96
0
54
spr1_2018ZR.pdf
bartoszgorka96
0
20
Other Decks in Technology
See All in Technology
トークン最適化のためのユーザーストーリー分析 / User Story Analysis for Token Optimization
oomatomo
0
130
AI Agentをシステムに組み込む前にゆるく向き合ってみる
hayama17
0
170
UIパーツの設計を「型」から読み解く 〜TSKaigiのセッションから得た学び〜
yud0uhu
0
110
Fabricをフル活用する AI Agent Hub -製造業特化AIエージェントの設計
iotcomjpadmin
0
160
40代で“やっとエンジニアになれた”――閉じた学びを開き、空の青さを知る / 20260628 Naoki Takahashi
shift_evolve
PRO
4
1.1k
コミュニティの有益性 ~JAWS Days 2026 での体験を通して~ / The Benefits of a Community ~Through My Experience at JAWS Days 2026~
seike460
PRO
0
300
AIAU_UMEMOGU_ninomiya_slide
ninomiya_ii
0
280
時期が悪い!それでもRaspberry Piを買って遊んで活用するには / 20260627-osc26do-rpi-jikigawarui
akkiesoft
1
900
水を運ぶ人としてのリーダーシップ
izumii19
4
1.1k
Amazon Redshift zero-ETL 統合を活用した軽量なマルチプロダクトデータ可視化基盤 / Lightweight Multi-Product Data Visualization with Amazon Redshift Zero-ETL
kaminashi
0
110
AIは、人間らしい仕事の夢を見るか?─ AI時代のtoB/toEプロダクトを再設計する
techtekt
PRO
0
160
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
280
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
698
190k
Statistics for Hackers
jakevdp
799
230k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1k
Scaling GitHub
holman
464
140k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
440
Tell your own story through comics
letsgokoyo
1
980
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Transcript
ZERO DOWNTIME DEVELOPMENT BartoszGorka96
Common issues Downtimes cost money Downtimes are risky and unpredictable
BartoszGorka96
… BartoszGorka96
Development Database Application BartoszGorka96
Our focus We are most focused on deployment stage and
often ignore data migration BartoszGorka96
… BartoszGorka96
- Task 1 - The risks of data migration BartoszGorka96
Risks - data migration process 1. Underestimating time and effort
2. Doing all at once 3. Performance limitations 5. No rollback plan 4. Poor testing and migrating BartoszGorka96
… BartoszGorka96
- Task 2 - Actions which we can do to
prevent bugs BartoszGorka96
Risks - data migration process 1. Underestimating time and effort
2. Doing all at once 3. Performance limitations 5. No rollback plan 4. Poor testing and migrating R E P L Y BartoszGorka96
We can use 1. down and up instead only change
2. raw sql instead structures 3. step by step - to be able to rollback changes 5. concurrently index build 4. drop only when confirmed BartoszGorka96
… BartoszGorka96
Example Add new column with NOT NULL constant* * with
default value also BartoszGorka96
Summary Always be careful with database migration. It’s is surely
safe to take a backup before execute migration. Always think of backward compatibility usually without reverting migration. BartoszGorka96
BartoszGorka96 Please give me a feedback