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
50
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
59
Build modern applications with Elixir lang
bartoszgorka96
0
48
spr1_2018ZR.pdf
bartoszgorka96
0
20
Other Decks in Technology
See All in Technology
Physical AI on AWS リファレンスアーキテクチャ / Physical AI on AWS Reference Architecture
aws_shota
1
200
GitHub Advanced Security × Defender for Cloudで開発とSecOpsのサイロを超える: コードとクラウドをつなぐ、開発プラットフォームのセキュリティ
yuriemori
1
110
【Oracle Cloud ウェビナー】データ主権はクラウドで守れるのか?NTTデータ様のOracle Alloyで実現するソブリン対応クラウドの最適解
oracle4engineer
PRO
3
120
Oracle Cloud Infrastructure:2026年3月度サービス・アップデート
oracle4engineer
PRO
0
200
Zephyr(RTOS)でARMとRISC-Vのコア間通信をしてみた
iotengineer22
0
100
LLMに何を任せ、何を任せないか
cap120
10
6.2k
Bref でサービスを運用している話
sgash708
0
210
Astro Islandsの 内部実装を 「日本で一番わかりやすく」 ざっくり解説!
knj
0
340
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
120
非同期・イベント駆動処理の分散トレーシングの繋げ方
ichikawaken
1
230
「お金で解決」が全てではない!大規模WebアプリのCI高速化 #phperkaigi
stefafafan
5
2.4k
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
260
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Tell your own story through comics
letsgokoyo
1
870
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Agile that works and the tools we love
rasmusluckow
331
21k
GraphQLとの向き合い方2022年版
quramy
50
14k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Ethics towards AI in product and experience design
skipperchong
2
240
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
170
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