True Causes
YO
← ọ̀dẹ̀dẹ̀
7/7 · Àwọn ìgbésẹ̀
ènìyàn 30 · èrò 30
ẹ tẹ ìpele èyíkéyìí tó ti parí láti ṣàwárí rẹ̀
✓
Kíkọ
✓
Ṣíṣàlàyé
✓
Kíkó jọ
✓
Yíyàn
✓
Títò
✓
Máàpù
7
Àwọn ìgbésẹ̀
ìfihàn · a kò kà á
àwọn ìdènà · ẹnikẹ́ni tó ní ìjápọ̀ náà · a kọ ọ́ sí gbangba · àjọ yàrá wà ní títàn
alábòójútó rẹ̀ (ti di èdìdì) ló ń bójú tó o
ènìyàn 30 · èrò 30 · ẹgbẹ́ 2
Ìwé ìrìnnà → · Ìrònú → · àkọsílẹ̀
↗ pín máàpù yìí
Lórí ojú òpó mìíràn, gẹ́gẹ́ bí máàpù alààyè:
Gẹ́gẹ́ bí àwòrán: https://truecauses.org/d/6708d57/map.svg
Gẹ́gẹ́ bí dátà: gbogbo káàdì-méjì tí a ṣèdájọ́ nínú yàrá yìí (CSV). Kókó kọ̀ọ̀kan ní àdírẹ́sì tirẹ̀, /c/6708d57/<card>, tí a kọ sí abẹ́ máàpù.
Ìdárúkọ nígbà tí ẹ bá tẹ̀ ẹ́ jáde: Máàpù ìdí: True Causes, https://truecauses.org/d/6708d57
ÌBÉÈRÈ NÁÀ

Why does the same outage keep recurring?

Ẹ dábàá ohun tí a ó ṣe, lẹ́yìn náà ẹ ṣèdájọ́ bóyá ìgbésẹ̀ kọ̀ọ̀kan yóò yí gbòǹgbò kọ̀ọ̀kan padà.

Ó di èdìdì ní ọjọ́ 69 sẹ́yìn: yàrá yìí kò mọ àwọn tó jókòó nínú rẹ̀ mọ́; alábòójútó rẹ̀ nìkan ni a ṣì ń dárúkọ. Ìparí rẹ̀ yóò wà bẹ́ẹ̀.
30 ló wà ní ìjókòó (29 jẹ́ àfarawé) · a ti dábàá ìgbésẹ̀ 3 lòdì sí ìdí gbòǹgbò 6. Ẹ fi ọ̀kan kún un, lẹ́yìn náà ẹ ṣèdájọ́ bóyá ìgbésẹ̀ kọ̀ọ̀kan ń yí ìdí kọ̀ọ̀kan padà.
Ẹ ń wò ó gẹ́gẹ́ bí àlejò. Ẹ tẹ orúkọ olùmúlò láti dara pọ̀ kí ẹ sì kópa.
Ẹ kọ́kọ́ fún àwọn gbòǹgbò ní máàkì
ìdí
Àṣà ọ̀nà náà fúnra rẹ̀, kí a tó dábàá ìgbésẹ̀ kankan: a ń fún ìdí gbòǹgbò kọ̀ọ̀kan ní máàkì 1–5 lórí bí ó ṣe ṣeé ṣe tó láti kojú rẹ̀, iye ipa tí kíkojú rẹ̀ yóò ní, àti bí ó ṣe ṣeé ṣe tó pé yóò yanjú fúnra rẹ̀ láìsí ìdásí kankan. Ipò àkọ́kọ́ ń lọ sí àwọn gbòǹgbò tí ipa wọn ga, tí ó ṣeé ṣe gidigidi, tí kò sì ṣeé ṣe kí wọ́n tún ara wọn ṣe — ohun àkọ́kọ́ = ipa + ó ṣeé ṣe − ó ń tún ara rẹ̀ ṣe. A ń ṣe ìpíndọ́gba máàkì káàkiri ẹgbẹ́ náà, a sì ń fi wọ́n hàn pẹ̀lú iye àwọn tó fún wọn ní máàkì.
1 = kéré, 5 = ga. Máàkì tiyín; ìpíndọ́gba ẹgbẹ́ náà lẹ́gbẹ̀ẹ́ wọn.
ìdí gbòǹgbòó ṣeé ṣeipaó ń tún ara rẹ̀ ṣeohun àkọ́kọ́
The service map in the wiki is two years old––––
One engineer knows how the payment path actually works––––
Feature flags are never cleaned up, so nobody knows which paths are live––––
The on-call rota has the same two people on it most weeks––––
Rollbacks take longer than the outage they are meant to end––––
Alerts fire so often that on-call mutes them––––
Ṣé ìgbésẹ̀ kọ̀ọ̀kan yóò yí ìdí gbòǹgbò kọ̀ọ̀kan padà?
Ní ẹ̀gbẹ́: àwọn ìgbésẹ̀ tí àwọn ènìyàn dábàá. Ní òkè: àwọn ìdí gbòǹgbò tí máàpù rí. Àpótí kọ̀ọ̀kan jẹ́ ìbò kan lórí ìbéèrè kan — ṣé ìgbésẹ̀ yìí yóò dín ìdí yẹn kù ní pàtàkì? Ẹ̀gbẹ́ kan gbọ́dọ̀ dé 75% ìbò tí a dì láti yanjú rẹ̀; bí kò bá tó bẹ́ẹ̀, àpótí náà yóò wà ní pípín sí méjì. Àpótí kọ̀ọ̀kan ń fi bí ìbò rẹ̀ ṣe já hàn — bẹ́ẹ̀ ni / burú sí i / rárá — àpótí kan sì ti yanjú nígbà tí ọ̀kan nínú wọn bá dé ìdá mẹ́ta nínú mẹ́rin.
ìdí
A dáhùn rẹ̀ ní 75% ìbò tí a dì, bí gbogbo ìbéèrè mìíràn níbí. Pín sí méjì túmọ̀ sí pé àwọn ènìyàn dìbò, kò sì sí ẹ̀gbẹ́ kankan tó dé ìwọ̀n yẹn — èsì ni, kì í ṣe ìlà ìdúró, yóò sì wà ní pípín sí méjì títí ènìyàn tó pọ̀ tó yóò fi yí èrò wọn padà. Àpótí tí kò sí ẹni tó yanjú rẹ̀ yóò wà láìpinnu; kì í di rárá láé. Ṣíṣèdájọ́ káàdì-méjì kọ̀ọ̀kan fúnra rẹ̀ ló ń dènà kí a má fi ìyìn fún ìgbésẹ̀ tí gbogbo ènìyàn fẹ́ràn pé ó tún àwọn nǹkan tí kò fọwọ́ kàn ṣe.
ÌGBÉSẸ̀ÀWỌN ÌDÍ GBÒǸGBÒ · ṣé ìgbésẹ̀ tó wà ní òsì ń dín in kù?
The service map in the wiki is two years oldOne engineer knows how the payment path actually worksFeature flags are never cleaned up, so nobody knows which paths are liveThe on-call rota has the same two people on it most weeksRollbacks take longer than the outage they are meant to endAlerts fire so often that on-call mutes them
No production deploy after 14:00 on Fridays unless the on-call engineer agrees jíròrò✗ rárá, kò ṣe bẹ́ẹ̀
3 bẹ́ẹ̀ ni / 0 burú sí i / 26 rárá
⚑ ẹgbẹ́ náà pín sí méjì
21 bẹ́ẹ̀ ni / 0 burú sí i / 8 rárá
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
Give the shared schema one named owner and a migration tool with rollback jíròrò✗ rárá, kò ṣe bẹ́ẹ̀
6 bẹ́ẹ̀ ni / 0 burú sí i / 23 rárá
✓ bẹ́ẹ̀ ni, ó ń dín èyí kù
24 bẹ́ẹ̀ ni / 0 burú sí i / 5 rárá
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
Reserve one engineer-week per sprint for post-mortem actions, first in the sprint, not last jíròrò✗ rárá, kò ṣe bẹ́ẹ̀
4 bẹ́ẹ̀ ni / 0 burú sí i / 25 rárá
✗ rárá, kò ṣe bẹ́ẹ̀
3 bẹ́ẹ̀ ni / 0 burú sí i / 26 rárá
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
a kò tíì pinnu rẹ̀
Èyí tó ní agbára ipa jùlọ títí di báyìí
Give the shared schema one named owner and a migration tool with rollback ó ń dín 1 nínú ìdí gbòǹgbò 6 kù
ÀWỌN ÌGBÉSẸ̀ LÓRÍ MÁÀPÙ
Ohun tí a ń fi hàn: gbogbo ìgbésẹ̀ tí yàrá náà ṣèdájọ́ rẹ̀. Ó kan 1 nínú àwọn ìdí gbòǹgbò 6 tààrà. Kò kan 5 tààrà.
A kà á láti inú àwọn àpótí tí yàrá náà yanjú ní Àwọn ìgbésẹ̀ nìkan. Gbòǹgbò aláwọ̀ ewé ni ó kéré tán ọ̀kan nínú àwọn ìgbésẹ̀ tí a fi hàn ń dín kù; aláwọ̀ eérú, kò sí èyí tó kàn án tààrà; ìlà pupa yíká túmọ̀ sí pé ọ̀kan nínú wọn ń mú kí ó burú sí i.
The same three services cause most of the pages → The staging environment does not resemble productionFeature work always outranks reliability work in planning → Post-mortem actions are written up and then never scheduledRollbacks take longer than the outage they are meant to end → Reliability has no budget line of its ownEvery team has its own logging format → Customers report outages before monitoring doesReliability has no budget line of its own → The incident channel fills with people asking for status instead of giving itReliability has no budget line of its own → The staging environment does not resemble productionPost-mortems assign actions to people who were not in the room → Post-mortem actions are written up and then never scheduledTests that fail intermittently are retried until green → Customers report outages before monitoring doesRetries are unbounded, so a slow dependency becomes a flood → The same three services cause most of the pagesAlerts fire so often that on-call mutes them → Every team has its own logging formatThe on-call rota has the same two people on it most weeks → Post-mortem actions are written up and then never scheduledThe on-call rota has the same two people on it most weeks → Alerts fire so often that on-call mutes themFeature flags are never cleaned up, so nobody knows which paths are live → The same three services cause most of the pagesFeature flags are never cleaned up, so nobody knows which paths are live → Rollbacks take longer than the outage they are meant to endOne engineer knows how the payment path actually works → The on-call rota has the same two people on it most weeksThe service map in the wiki is two years old → Feature flags are never cleaned up, so nobody knows which paths are liveFeature work always outranks reliability work in planningFeature work alwaysoutranks reliability workin planningPost-mortems assign actions to people who were not in the roomPost-mortems assign actionsto people who were not inthe roomTests that fail intermittently are retried until greenTests that failintermittently are retrieduntil greenRetries are unbounded, so a slow dependency becomes a floodRetries are unbounded, so aslow dependency becomes afloodOne engineer knows how the payment path actually works ② Give the shared schema one named owner and a migration tool with rollbackOne engineer knows how thepayment path actually works②ohun tí àwọn ìgbésẹ̀ tí a fi hàn ń ṣe sí ìdí gbòǹgbò yìíÌGBÉSẸ̀ 1 LÓ Ń DÍN IN KÙThe service map in the wiki is two years oldThe service map in the wikiis two years oldohun tí àwọn ìgbésẹ̀ tí a fi hàn ń ṣe sí ìdí gbòǹgbò yìíKÒ SÍ ÌGBÉSẸ̀ TÓ KÀN ÁNTÀÀRÀFeature flags are never cleaned up, so nobody knows which paths are liveFeature flags are nevercleaned up, so nobody knowswhich paths are liveohun tí àwọn ìgbésẹ̀ tí a fi hàn ń ṣe sí ìdí gbòǹgbò yìíKÒ SÍ ÌGBÉSẸ̀ TÓ KÀN ÁNTÀÀRÀThe on-call rota has the same two people on it most weeksThe on-call rota has thesame two people on it mostweeksohun tí àwọn ìgbésẹ̀ tí a fi hàn ń ṣe sí ìdí gbòǹgbò yìíKÒ SÍ ÌGBÉSẸ̀ TÓ KÀN ÁNTÀÀRÀRollbacks take longer than the outage they are meant to endRollbacks take longer thanthe outage they are meantto endohun tí àwọn ìgbésẹ̀ tí a fi hàn ń ṣe sí ìdí gbòǹgbò yìíKÒ SÍ ÌGBÉSẸ̀ TÓ KÀN ÁNTÀÀRÀAlerts fire so often that on-call mutes themAlerts fire so often thaton-call mutes themohun tí àwọn ìgbésẹ̀ tí a fi hàn ń ṣe sí ìdí gbòǹgbò yìíKÒ SÍ ÌGBÉSẸ̀ TÓ KÀN ÁNTÀÀRÀThe same three services cause most of the pagesThe same three servicescause most of the pagesPost-mortem actions are written up and then never scheduledPost-mortem actions arewritten up and then neverscheduledReliability has no budget line of its ownReliability has no budgetline of its ownEvery team has its own logging formatEvery team has its ownlogging formatThe incident channel fills with people asking for status instead of giving itThe incident channel fillswith people asking forstatus instead of giving itThe staging environment does not resemble productionThe staging environmentdoes not resembleproductionCustomers report outages before monitoring doesCustomers report outagesbefore monitoring does
Nọ́ńbà kọ̀ọ̀kan lórí máàpù ń tọ́ka sí ìdí gbòǹgbò tí ìgbésẹ̀ yẹn ń dín kù.
① No production deploy after 14:00 on Fridays unless the on-call engineer agrees
② Give the shared schema one named owner and a migration tool with rollback
③ Reserve one engineer-week per sprint for post-mortem actions, first in the sprint, not last
Ohun tí a retí pé yóò tẹ̀lé e
Àsọtẹ́lẹ̀ nípa àwọn ìgbésẹ̀: ohun tí ọ̀kọ̀ọ̀kan yẹ kí ó yí padà, bí a ó ṣe wọ̀n ọ́n, àti ìgbà tí a ó ṣàyẹ̀wò. Ní ọjọ́ náà, ẹnì kan tó wà nínú yàrá náà yóò kọ ohun tó ṣẹlẹ̀ gan-an sí ẹ̀gbẹ́ rẹ̀.
ìdí
Máàpù ń sọ àwọn ìgbésẹ̀ tó ń yí àwọn ìdí kan padà. Kò sọ bóyá ẹnikẹ́ni ṣe wọ́n, tàbí bóyá nǹkan kan yí padà. Ohun tí a kọ síbí jẹ́ àsọtẹ́lẹ̀ tí ó ní ọjọ́ àti nǹkan láti wọ̀n, tí a kọ lẹ́yìn tí máàpù dúró. Nígbà tí ọjọ́ náà bá dé, a ó kọ ohun tó ṣẹlẹ̀ gan-an sí ẹ̀gbẹ́ rẹ̀, àsọtẹ́lẹ̀ náà yóò sì wà bí ó ṣe wà: èyí tí kò tọ̀nà ni èyí tó wúlò. Kò sí ẹni tó dìbò lórí èyíkéyìí nínú èyí, kò sì yí ohunkóhun tí yàrá náà rí padà.
àkókò rẹ̀: 23 Oṣù Kìíní 2027
ìgbésẹ̀No production deploy after 14:00 on Fridays unless the on-call engineer agrees
a retíthe same cause stops coming back once fixing it is in the sprint
a wọ̀n ọ́n pẹ̀lúrepeat outages with the same cause, per quarter
àmọ̀tẹ́lẹ̀yàrá náà: 3 (àárín-gbùngbùn 15, láti 1 dé 6)
KÍ LÓ KÀN
Ohun tí yàrá yìí rí ni ìbẹ̀rẹ̀ irú máàpù mìíràn. Ìyípo kọ̀ọ̀kan nísàlẹ̀ yóò ṣí gẹ́gẹ́ bí yàrá tuntun pẹ̀lú àwọn ènìyàn kan náà, tí a ti gbà wọlé, àti ohun tí a gbé wá sórí ògiri rẹ̀ tàbí sí ẹ̀gbẹ́ rẹ̀. Ìyípo kan yára ju yàrá àkọ́kọ́ lọ: kò sí ẹni tó ń dara pọ̀, a ti ṣètò ìbéèrè náà, a ti ṣàlàyé àwọn káàdì tí a gbé wá, ìpele tí kò ní iṣẹ́ kankan mọ́ sì ń parí lẹ́sẹ̀kẹsẹ̀. Ìyípo mìíràn lè tẹ̀lé ìyípo kan.
Àwọn ìgbésẹ̀ · àwọn ìdí gbòǹgbò ni ohun tí a ń fi ṣèdájọ́ àwọn ìgbésẹ̀; àwọn ìgbésẹ̀ tó yí ọ̀kan padà ti wà lórí ògiri
Kí ló yẹ kí a ṣe nípa àwọn ìdí gbòǹgbò tí a rí, kí ni a ó sì kọ́kọ́ ṣe?
Alábòójútó ló ń ṣí ìyípo tó kàn; ìjókòó yín yóò tẹ̀lé yín.