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
0
49
Zero downtime development with Elixir and Kubernetes
Zero downtime development with Elixir and Kubernetes by Bartosz Górka
Bartosz Górka
March 06, 2019
Tweet
Share
More Decks by Bartosz Górka
See All by Bartosz Górka
Programowanie funkcyjne
bartoszgorka96
0
56
Build modern applications with Elixir lang
bartoszgorka96
0
46
spr1_2018ZR.pdf
bartoszgorka96
0
16
Other Decks in Technology
See All in Technology
AI時代こそ求められる設計力- AWSクラウドデザインパターン3選で信頼性と拡張性を高める-
kenichirokimura
3
250
The Cake Is a Lie... And So Is Your Login’s Accessibility
leichteckig
0
110
JAZUG 15周年記念 × JAT「AI Agent開発者必見:"今"のOracle技術で拡張するAzure × OCIの共存アーキテクチャ」
shisyu_gaku
1
140
20201008_ファインディ_品質意識を育てる役目は人かAIか___2_.pdf
findy_eventslides
2
590
定期的な価値提供だけじゃない、スクラムが導くチームの共創化 / 20251004 Naoki Takahashi
shift_evolve
PRO
4
360
SwiftUIのGeometryReaderとScrollViewを基礎から応用まで学び直す:設計と活用事例
fumiyasac0921
0
150
そのWAFのブロック、どう活かす? サービスを守るための実践的多層防御と思考法 / WAF blocks defense decision
kaminashi
0
140
空間を設計する力を考える / 20251004 Naoki Takahashi
shift_evolve
PRO
4
460
KMP の Swift export
kokihirokawa
0
350
小学4年生夏休みの自由研究「ぼくと Copilot エージェント」
taichinakamura
0
590
10年の共創が示す、これからの開発者と企業の関係 ~ Crossroad
soracom
PRO
1
690
自動テストのコストと向き合ってみた
qa
0
210
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Designing for humans not robots
tammielis
254
26k
Why Our Code Smells
bkeepers
PRO
339
57k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Speed Design
sergeychernyshev
32
1.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
GitHub's CSS Performance
jonrohan
1032
470k
It's Worth the Effort
3n
187
28k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.9k
Context Engineering - Making Every Token Count
addyosmani
5
220
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