![Search icon](https://hackernoon.imgix.net/search-new.png?w=19&h=19)
Noma nini lapho isistimu yakho ikhula, i-traffic iyanda, abasebenzisi abaningi ngokwengeziwe basebenzisa imikhiqizo yakho, amaseva aqala ukuphendula kancane, isikhathi sokuphumula siphoqa ibhizinisi lakho ukuthi lihlupheke bese uqala ukucabanga ngokukala.
Kunamasu amabili ayinhloko okulinganisa - okuqondile nokuvundlile.
Ukukala okuqondile kuhlose ukukhulisa amandla esistimu ngokungeza ngokuvamile i-CPU eyengeziwe, ne-RAM kumaseva akho.
Ngokuphambene, ukukala okuvundlile kugxile ekuphindaphindeni (noma ekuhlanganiseni) amaseva akho eqoqweni lezinsiza.
Okuningi kulokhu:
Ukukala okuqondile kuyinketho engcono kakhulu yesistimu yethrafikhi ephansi ngoba iyindlela efinyeleleka kakhulu yokusingatha ukukhula ngaphandle kokwethula ubunkimbinkimbi obengeziwe. Awudingi ukukhathalela ngokuthumela amasu eqembu lezinsiza, ukunwebeka kwechibi lezinsiza, ukungabi nasimo kweseva yakho, inqolobane esabalalisiwe, nokunye.
Nokho, ukukala okuqondile kunezihibe ezinkulu
Ukukala okuvundlile kususa lezi zinkinga ngokuhlanganisa iziphakeli zohlelo lwakho lokusebenza nokushumeka ingxenye efana nesilinganisi somthwalo .
Isilinganisi somthwalo sisabalalisa ithrafikhi kumaseva akho sisebenzisa ama-algorithms athile afana nalawa:
Noma kunjalo, inezinkinga ezimbalwa:
Ukuze amadivaysi amabili aku-inthanethi axhumane, amasistimu ayisisekelo kufanele alandele imigomo ethile. Wonke umuntu wezwa ngemodeli ye-OSI, echaza izendlalelo eziyisikhombisa ezisetshenziswa amasistimu wamakhompyutha ukuxhumana ngenethiwekhi. Nakuba i-inthanethi yesimanje isuselwe kumodeli yesitaki yephrothokholi ye-TCP/IP elula, imodeli ye-OSI isetshenziswa kakhulu, njengoba isiza ukubona ngeso lengqondo nokuxhumana ukuthi amanethiwekhi asebenza kanjani futhi isize ukuhlukanisa nokuxazulula izinkinga zenethiwekhi.
Izixazululo eziningi zokulinganisa umthwalo wemboni zisebenzisa amagama athi L4 kanye ne-L7 lapho i-L4 ibhekisela kungqimba lwezokuthutha kumodeli ye-OSI futhi i-L7 ibhekisela kusendlalelo sohlelo lokusebenza.
Ibhalansi yomthwalo we-L4 kuseyi-L2/L3 njengoba isebenzisa idatha evela ezansi njengekheli le-IP kanye nenombolo yembobo.
Ivikeleke kakhulu futhi iyasebenza njengoba okuqukethwe kwedatha akuthathwa ekwenzeni izinqumo zomzila
Ukuxhumana okufanayo kwe-TCP kubambe phakathi kweklayenti neseva, okusiza ukuvimbela ukweqa umkhawulo wokuxhumana okutholakalayo kwe-TCP kusilinganisi somthwalo.
Ngakolunye uhlangothi, isilinganisi somthwalo we-L7 sisebenza ezingeni lesicelo kumodeli ye-OSI
Izinqumo ezihlakaniphile zingenziwa ngokusekelwe endleleni ye-URL, izihloko, okuqukethwe
Ukulondoloza inqolobane
Isilinganisi somthwalo siyingxenye ebalulekile lapho kusetshenziswa ukukala okuvundlile ukuze kuphathwe amasistimu ethrafikhi ephezulu. Kunezinhlobo ezimbili eziyinhloko zezilinganisi zomthwalo i-L4 ne-L7.
I-L4 load balancer ivikeleke kakhulu futhi iyasebenza ngenxa yemikhawulo yokwenza izinqumo ezihlakaniphile
I-L7 load balancer isebenza ngendlela yokuhlinzeka ngezinqumo zomzila ezihlakaniphile ngenxa yezindleko zokusebenza kahle nokuphepha
Ukukhetha uhlobo olufanele kuncike ezidingweni zesistimu futhi kufanele kucatshangelwe ngokucophelela ngebhalansi enengqondo yokusebenzisa izimiso zokuphepha kanye nokususa izingqinamba zokusebenza.
Iphinde ishicilelwe lapha.