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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Bartosz Górka
March 06, 2019
Technology
57
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
63
Build modern applications with Elixir lang
bartoszgorka96
0
60
spr1_2018ZR.pdf
bartoszgorka96
0
21
Other Decks in Technology
See All in Technology
AIに丸投げしないトイル削減 / Eliminating Toil Without Leaving It All to AI
kohbis
2
200
はじめてのDatabricks:技術者向けワークショップ / beginner-workshop
databricksjapan
PRO
0
150
Amazon S3 Tablesに全部任せてみた結果——コンパクション/スナップショット管理は本当に手放せるか
shigeruoda
0
380
プロダクトエンジニアに必要な「いい感じ」に作る能力 〜たくさん作れる時代に、どこまで作るかの決め方〜
jnishime_dresscode
2
1.4k
生成AIのテナント制御とシャドーMCP対策 | AIを"止めずに"、情報を守る
yukun
0
110
どんな手を使っても絶対間に合わせるスケジューラ
asari194617
0
1.6k
Bet AI Day 2026丨How We Bet AI: AIとともに働く場をつくる
layerx
PRO
2
2.2k
#jawssonic2026 あの時代が悪かった ~動かなかったSageMakerと共に迎えたイベント当日~
ktkn1129
0
130
Benchmarking Vector Databases: pgvector vs. LanceDB
tsho
0
140
[DroidKaigi 2026] Making UI specifications visible: Android UI development in the AI agent era supported by Compose Screenshot Testing and galleries
syarihu
0
570
データエンジニアの困りごとをDevinと一緒に解消する
10xinc
2
820
AI時代のAPI品質を支えるガードレール / API Guardrails for API quality in the AI era
yokawasa
1
110
Featured
See All Featured
So, you think you're a good person
axbom
PRO
2
2.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
590
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
4
570
The World Runs on Bad Software
bkeepers
PRO
72
12k
Believing is Seeing
oripsolob
1
210
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.5k
The agentic SEO stack - context over prompts
schlessera
0
890
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Are puppies a ranking factor?
jonoalderson
2
3.9k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
New Earth Scene 8
popppiees
3
2.5k
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