True Causes
ZU
← ilobhi
7/7 · Izenzo
abantu abangu-30 · imibono engu-30
thintani noma yisiphi isigaba esiqediwe ukuze nisihlole
✓
Ukubhala
✓
Ukucacisa
✓
Ukuqoqa
✓
Ukukhetha
✓
Uhlaka
✓
Ibalazwe
7
Izenzo
umbukiso · akubalwa
izithiyo · noma ubani onesixhumanisi · kusohlwini lomphakathi · inhlanganyelo ivuliwe
kuphethwe ngu-umphathi walo (kufakwe uphawu)
abantu abangu-30 · imibono engu-30 · amaqembu angu-2
Iphasipoti → · Umqondo → · irekhodi
↗ yabelana ngaleli balazwe
Kwenye iwebhusayithi, njengebalazwe elibukhoma:
Njengesithombe: https://truecauses.org/d/6708d57/map.svg
Njengedatha: zonke izibhangqa ezahlulelwe kuleli gumbi (CSV). Isigomelo ngasinye sinekheli laso, /c/6708d57/<card>, elibhalwe ngaphansi kwebalazwe.
Ukubonga uma nishicilela: Ibalazwe lezimbangela: True Causes, https://truecauses.org/d/6708d57
UMBUZO

Why does the same outage keep recurring?

Phakamisani okumele kwenziwe, bese nahlulela ukuthi isenzo ngasinye singayithinta yini impande ngayinye.

Kufakwe uphawu ezinsukwini ezingu-69 ezedlule: leli gumbi alisazi ukuthi obani ababehlezi kulo; ngumphathi walo kuphela osashiwo ngegama. Lokho elakufinyelela kuyahlala.
abangu-30 etafuleni (29 abalingisiwe) · izenzo ezingu-3 ziphakanyiswe ngokumelene nezimbangela eziwumsuka ezingu-6. Engezani esisodwa, bese nahlulela ukuthi isenzo ngasinye siyayithinta yini imbangela ngayinye.
Nibuka njengesivakashi. Faka igama lomsebenzisi ukuze nijoyine futhi nihlanganyele.
Nikezani izimbangela eziwumsuka amaphuzu kuqala
kungani
Umkhuba wale ndlela uqobo, ngaphambi kokuthi kuphakanyiswe isenzo: imbangela ewumsuka ngayinye inikezwa amaphuzu angu-1–5 ngokuthi kuyenzeka kangakanani ukubhekana nayo, ukuthi ukubhekana nayo kungaba nomthelela ongakanani, nokuthi kungenzeka kangakanani ukuthi izixazulule yona ngaphandle kokungenelela. Okubalulekile kakhulu yizimpande ezinomthelela omkhulu, ezenzeka kalula futhi okungenzeki kalula ukuthi zizilungise — okubalulekile = umthelela + ukwenzeka − ukuzilungisa. Amaphuzu enziwa isilinganiso eqenjini lonke futhi aboniswa nokuthi bangaki abanikeze amaphuzu.
1 = phansi, 5 = phezulu. Amaphuzu enu; izilinganiso zeqembu eceleni kwawo.
imbangela ewumsukakuyenzekaumthelelakuzilungisa konaokubalulekile
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––––
Ingabe isenzo ngasinye singayithinta imbangela ewumsuka ngayinye?
Phansi ohlangothini: izenzo abantu abaziphakamisile. Phezulu: izimbangela eziwumsuka ezitholwe yibalazwe. Isikwele ngasinye siyivoti elilodwa embuzweni owodwa — ingabe lesi senzo singayinciphisa kakhulu leyo mbangela? Uhlangothi olulodwa kumele lufinyelele ku-75% wamavoti afakiwe ukuze kunqunywe; uma kungenjalo isikwele sihlala sihlukene. Isikwele ngasinye sibonisa ukuthi amavoti aso ahlukene kanjani — yebo / kubi nakakhulu / cha — futhi isikwele sinqunywa uma okukodwa kwalokho kufinyelela ezingxenyeni ezintathu kwezine zawo.
kungani
Kuphendulwe ngo-75% wamavoti afakiwe, njengayo yonke eminye imibuzo elapha. Kuhlukene kusho ukuthi abantu bavotile futhi alukho uhlangothi olufinyelele kulelo zinga — kungumphumela, hhayi uhlu lokulinda, futhi kuhlala kuhlukene kuze kube abantu abanele bashintsha imibono yabo. Isikwele esingenqunywa muntu sihlala singanqunyiwe; asikaze sibalwe njengokuthi “cha”. Ukwahlulela isibhangqa ngasinye ngokwaso yikho okuvimbela isenzo esithandwayo ukuthi sinconywe ngokulungisa izinto esingazithinti.
ISENZOIZIMBANGELA EZIWUMSUKA · ingabe isenzo esingakwesobunxele siyakunciphisa?
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 xoxa✗ cha, akukunciphisi
3 yebo / 0 kubi nakakhulu / 26 cha
⚑ iqembu lihlukene
21 yebo / 0 kubi nakakhulu / 8 cha
akukanqunywa
akukanqunywa
akukanqunywa
akukanqunywa
Give the shared schema one named owner and a migration tool with rollback xoxa✗ cha, akukunciphisi
6 yebo / 0 kubi nakakhulu / 23 cha
✓ yebo, kuyakunciphisa lokhu
24 yebo / 0 kubi nakakhulu / 5 cha
akukanqunywa
akukanqunywa
akukanqunywa
akukanqunywa
Reserve one engineer-week per sprint for post-mortem actions, first in the sprint, not last xoxa✗ cha, akukunciphisi
4 yebo / 0 kubi nakakhulu / 25 cha
✗ cha, akukunciphisi
3 yebo / 0 kubi nakakhulu / 26 cha
akukanqunywa
akukanqunywa
akukanqunywa
akukanqunywa
Okunomthelela omkhulu kuze kube manje
Give the shared schema one named owner and a migration tool with rollback sinciphisa 1 kwezimbangela eziwumsuka ezingu-6
IZENZO EBALAZWENI
Kuboniswa: zonke izenzo igumbi elazahlulela. Kusebenza ngqo ku-1 kwezimbangela eziwumsuka ezingu-6. Akusebenzi ngqo ezimbangeleni eziwumsuka ezingu-5.
Kufundwe ezikweleni igumbi elazinquma esigabeni sezenzo, akukho okunye. Impande eluhlaza incishiswa okungenani yisenzo esisodwa kwezibonisiwe; empunga, akukho kuzo okusebenza kuyo ngqo; umugqa obomvu ojikelezayo usho ukuthi esinye sazo siyenza ibe imbi nakakhulu.
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②lokho izenzo eziboniswayo ezikwenzayo kule mbangela ewumsukaKUNCIPHISWA YISENZOESINGU-1The service map in the wiki is two years oldThe service map in the wikiis two years oldlokho izenzo eziboniswayo ezikwenzayo kule mbangela ewumsukaASIKHO ISENZO ESISEBENZAKUYO NGQOFeature flags are never cleaned up, so nobody knows which paths are liveFeature flags are nevercleaned up, so nobody knowswhich paths are livelokho izenzo eziboniswayo ezikwenzayo kule mbangela ewumsukaASIKHO ISENZO ESISEBENZAKUYO NGQOThe on-call rota has the same two people on it most weeksThe on-call rota has thesame two people on it mostweekslokho izenzo eziboniswayo ezikwenzayo kule mbangela ewumsukaASIKHO ISENZO ESISEBENZAKUYO NGQORollbacks take longer than the outage they are meant to endRollbacks take longer thanthe outage they are meantto endlokho izenzo eziboniswayo ezikwenzayo kule mbangela ewumsukaASIKHO ISENZO ESISEBENZAKUYO NGQOAlerts fire so often that on-call mutes themAlerts fire so often thaton-call mutes themlokho izenzo eziboniswayo ezikwenzayo kule mbangela ewumsukaASIKHO ISENZO ESISEBENZAKUYO NGQOThe 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
Inombolo ngayinye ebalazweni ikhomba imbangela ewumsuka leso senzo esiyinciphisayo.
① 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
Lokho esilindele ukuthi kulandele
Izibikezelo ngezenzo: lokho okufanele isenzo ngasinye sikushintshe, indlela yokukukala, nokuthi kuhlolwe nini. Ngalolo suku, umuntu owayesegumbini ubhala okwenzeke ngempela eduze kwaso.
kungani
Ibalazwe lisho ukuthi yiziphi izenzo ezithinta yiziphi izimbangela. Alisho ukuthi ukhona yini owazenza, noma kukhona okwashintsha. Okubhalwe lapha kuyisibikezelo esinosuku nento yokukala, esabhalwa ngemva kokuzinza kwebalazwe. Uma usuku lufika, okwenzeke ngempela kubhalwa eduze kwaso futhi isibikezelo sihlala njengoba sasinjalo: esingalungile yisona esiwusizo. Akekho owavotela noma yikuphi kwalokhu futhi akushintshi lutho kulokho igumbi elakuthola.
kulindeleke 23 Januwari 2027
isenzoNo production deploy after 14:00 on Fridays unless the on-call engineer agrees
silindelethe same cause stops coming back once fixing it is in the sprint
okukalwayorepeat outages with the same cause, per quarter
ukuqagelaigumbi: 3 (isilinganiso esiphakathi sezingu-15, kusukela ku-1 kuya ku-6)
OKULANDELAYO
Lokho okutholwe yileli gumbi kuyisiqalo solunye uhlobo lwebalazwe. Umzuliswano ngamunye ongezansi uvuleka njengegumbi elisha elinabantu abafanayo, abasevele bamukelwe, kanye nalokho okudluliselwayo odongeni lwalo noma eceleni kwalo. Umzuliswano ushesha kunegumbi lokuqala: akekho ojoyinayo, umbuzo usuhleliwe, amakhadi adluliselwe asevele acacisiwe, futhi isigaba esingasenalutho lokwenziwa sivaleka ngokushesha. Umzuliswano ungalandelwa ngomunye.
Izenzo · izimbangela eziwumsuka yizo izenzo ezahlulelwa ngokumelene nazo; izenzo ezathinta eyodwa sezivele zisodongeni
Kufanele senzeni ngezimbangela eziwumsuka ezitholakele, futhi yini okufanele siqale ngayo?
Umphathi uvula umzuliswano olandelayo; isihlalo senu siyadlulela kuwo.