Ukuba uye wadibana neli phepha ucinga ukuba uza kuba sisityebi ngecebo lokutyeba ngokukhawuleza, ndiyaxolisa ngokukuphoxa. Eli nqaku liza kuthetha ngendlela yokunciphisa iindleko zakho zelifu nge-1 yezigidi zeedola. Ngokwenza oko, uya kuba uvelise i-dollar eyongezelelweyo kwimali engenayo - onokuchitha ukuthenga ikhosi yam ye-intanethi malunga nendlela yobutyebi nge-AWS ( ikhonkco kwikhosi apha ).
Iindleko zamafu zihlala zingahoywa kwaye azichazwanga ekuqaleni kweeprojekthi zeNkampani. Uphando lwe-2021 HashiCorp lufumene ukuba phantse i-40% yeenkampani zigqithise kwiindleko zefu kwi-2021 [ 1 ]. Kwi-2023, phantse zonke iinkampani (94%) zavuma ukuba zichitha imali kwifu [ 1 ] kwaye ubuncinane i-30% yeendleko zefu zachithwa [ 2 ]. Inkcitho yamafu yayiphantse yaphantse yangama-500 eebhiliyoni zeedola ngo-2022 - ke sithetha malunga ne-150 yeebhiliyoni zeedola ngonyaka!
Oku ayisiyiyo kuphela inkxalabo yengeniso ephosiweyo kodwa kunye nezenzo zozinzo olulambathayo. I-150 yeebhiliyoni zeedola zamandla achithwayo!
Ezi ziphumo zibandakanya amashishini amakhulu kunye namancinci, ukusuka ekukhuleni kwamafu aphezulu ukuya ekuvuthweni kwamafu aphantsi. Ibhekisa kwi-AWS, kodwa imigaqo efanayo ingasetyenziswa kunoma yimuphi omnye umboneleli welifu. Ke, ukuba nayiphi na indawo yomsebenzi wakho efini, ke eli nqaku lelakho.
Ndithetha ngombono wenjineli yedatha, kodwa ukufunda okufanayo kunokusetyenziswa kwezinye iinkqubo zobunjineli besoftware.
Masingene ngaphakathi.
Olu hlobo lwebhili yelifu luhlala luthintelwe kumashishini amakhulu kakhulu asebenza kwihlabathi jikelele ngezigidi zabathengi.
Ukukunika umbono, i-1 yezigidi zeedola zeebhilikhi zefu zinokuvela kwi-Spark ETL yokusetyenzwa komsebenzi ~ 1.5Tb ngeyure 24x7 ngeentsuku ezingama-365 ngonyaka. Omnye umzekelo inokuba sisicelo esifumana izigidi ngezigidi zezicelo ngosuku kwiindawo ezininzi emhlabeni.
Kwishishini elikhulu, kukho amakhulu ezicelo kulo bukhulu - okukhokelela kwiikontrakthi zeebhiliyoni zeedola kunye nababoneleli ngamafu. Ngokomzekelo, i-Airbnb yayizibophezele ukuchitha i-$ 1.2 yezigidigidi kwimithombo yefu kwiminyaka emihlanu ekupheleni kwe-2019 [3 ].
Kwi-Expedia sicuthe iindleko zokusetyenzwa kwedatha ye-ETL exabisa i-1.1 yezigidi zeedola ngonyaka ukuya kwi-100,000 yeedola kuphela ngonyaka ngokuphumeza iindlela zokuphucula. Oko kuthotywa kweendleko nge-91%.
Ayizizo zonke iinkampani ezinezicelo zobukhulu obungaka kodwa khawufane ucinge ukwehlisa ixabiso lelifu lakho nge-90% nje ngesicelo esinye okanye kwinkampani yakho iphela.
Yiya ufumane uluhlu lwezicelo zakho ezibiza kakhulu kwaye ucele umngeni kwiingqikelelo zakho zoyilo .
Yonke le mibuzo ibuyela kowona mbuzo ubalulekileyo: isicelo siza kusetyenziswa njani? Lithini ixabiso leshishini ukuze libekho? Isicelo sisinceda njani ukuba sifikelele usukelo esilunikiweyo?
Ngokuqinisekileyo, zonke ezi mpendulo zihlala zingacacanga ekuqaleni kweprojekthi; kodwa yiyo loo nto uyilo kufuneka lusoloko luyinkqubo ephindaphindwayo - ivumela utshintsho ukuba lwenzeke ngaphandle komthungo kangangoko. Iinjineli kufuneka zamkele indaleko kunye notshintsho, zilungelelanise uphuhliso lwesicelo kunye nefuthe.
Isinyathelo sesibini siqulathe ukubonelela ngesicelo ngezixhobo ezifanelekileyo kunye nokulungelelanisa kwiziseko ezichanekileyo.
Njengenjineli, qaphela ukuba zibalwa njani iindleko zelifu. Umzekelo, i-AWS ibonelela ngemizekelo yendawo, apho unokubhida ngexabiso le-cluster - oku kubaluleke kakhulu ukuba unokunyamezela iimpazamo kunye nezicelo eziguquguqukayo. Zisebenzise ukuba unako - ibango le-AWS ukuya kuthi ga kwi-90% yokunciphisa iindleko [ 4 ].
Eminye imiba onokuthi ufune ukuyiqwalasela yile:
Kukho izinto ezincinci zokungaphumeleli ekusebenziseni iimeko ze-AWS Graviton. I-AWS ityale imali eninzi ekudaleni ezona nkqubo zineendleko ziphantsi. Unokunyuka ukuya kuthi ga kwi-40% yokunciphisa inkcitho yefu ngokutshintsha nje ukusuka kwiprosesa esekwe kwi-intel ukuya kwiprosesa esekwe kwi-ARM [ 10 ].
Ekuphela kwesilumkiso koku kukuba isicelo sakho kufuneka sihambelane ne-ARM-based processors eqhutywa yiGraviton. Ukuba ujongene nenkonzo elawulwayo efana ne-RDS okanye i-OpenSearch ngoko akukho ngxaki konke konke ekutshintsheni - i-AWS isebenzisana ne-OS esisiseko kunye nokuhambelana kwesicelo. Ukuba uyakha esakho isicelo, ke unokufuna ukuphinda uqokelele ipakethe ngokuxhomekeke kulwimi olusebenzisayo - iJava kunye nezinye iilwimi azifuni tshintsho ngelixa iPython ifuna ukuhoywa.
Okokugqibela, ungalibali ukugcina esweni iindleko zakho iincopho ezingalindelekanga kunye nezinto ezothusayo. Iindleko ngosuku lwe-0 yesicelo sakho ziya kuhluka kwiindleko zosuku lwe-170. Qinisekisa ukuba ugcina umkhondo weenguqu, kwaye uyaqonda ukuba kutheni utshintsho lwenzeka: ngaba ukupakisha iindleko zokugcina i-s3 okanye yinto enye kuphela spike?
Misela izilumkiso eziyimfuneko kunye neencwadi zesikhokelo zokusebenza !
Okubalulekileyo, phumeza iithegi zokwabiwa kweendleko ukulandelela inkcitho ngesebe, iprojekthi, okanye indawo engqongileyo. Gwema umngcipheko wokwenza idampu yedatha apho iindleko zingenakulandeleka okanye zifuna uhambo olude kwiinkqubo ezahlukeneyo zokungena. Kufuneka kukhawuleze kwaye kube lula ukubuyela kuzo naziphi na iindleko zesicelo.
Naphi na apho usebenza khona, ukulungelelanisa ukuhanjiswa kweempawu ezintsha kunye nokulungiswa kwezinto zangoku kunzima. Ngubani ongakhange axinzelelwe ukuba azise izinto ezintsha ezinqabileyo ngesantya sokukhanya.
Nangona kunjalo, kubalulekile kubo bobabini iinjineli kunye nabaphathi ukuba benze izigqibo ngabom kunye nezisebenzayo malunga neeprojekthi zabo zangoku, ukulawula umngcipheko kunye namathuba ngokufanelekileyo.