b Me IPaddress on Ire totem ewers — 141 140.65
4.3.3. Chuyea 061 dv phong có trim th
Twang hqp b0 can bang tai dg phong tiep (wan nhiem vo khi c6 str co yeti b0 can bang tai hoot dOng, cac ket not TCP hien cit dang duqc thvc hien bai bi) can bang tai hoot dOng se
bi pha ver ben vi b0 can bang tai dtr phong khong c6 thong tin trang thai cacket n ot TCP trong qua trinh giri va nhon ltru Itryng gOi tin vei b0 can bang tai hoat dOng. Dieu nay duqc gni la chuyen doi dv phong phi trang thai. Ngusic lai, chuyen doi dtr phong 0 Wang thai la phuong phap, de bt) can bang tai dv phimg tiep quan tir b .() can bang tai hoat dOng ma khong phi vet bit ky ket not TCP nao hien c6. Day khong phai 11 van de danh cho Itru luqng UDP, beti ban chat 1th not UDP la phi trang thai. Tuy nhien, cac phien UDP c6 the pha ver ket not va tit thanh chuyen dot dv phong phi Wang thai, nEu cac img dung doi, had v6i bat loai phien viec nao.Wri chuyen doi dtr phong co trang thai, b0 can bang tai dv phong phai duy tri ben vtIng cac phien bang cach gfri tat ca cac you tau tir mOt ngtr6i dung nhat dinh den cling mOt may chit don vi dang hoat dOng.
Chuyen dot di; phong 0 Wang thai yeu cau hai b0 can bang tai giao tiep yeti nhau bit cir luc nao khi mOt phien duqc thiet lop hoc duqc chtun dirt. Cac giao thirc va nger nghia
Chucmg 4: Thiet ke mang yeti b0 can bang tai De, Van Thjnh - A13439 chinh xac se khac nhau gifta cac san phAm, nhung b0 can bang tai di/ phi:mg phai theo del town be bang phien, nhu da duqc duy tri trong be can bang tai boat dOng, va gift no In& duqc cap nhat dtra tren ca so lien toc. Khi be can bang tai hoot dOng gap phai van de, be,
can bang tai cly pheng phai biet duqc luqng tai tree mei may chit nha met ban sao chdp chinh xac toan be bang phien lam viec, va cho phdp duy tri ben yang phien lam viec met cach can thiet.
Cung cap chuyen del cly phong c6 trang thai la rat phirc tap vi khi cac be can bang tai Bang thvc hien cons viec thi bi rang buec tri hoan trong URL, cookie, hoac ID phien SSL clya tren chuyen dei. Bed vi thu to hoacs6 ACK duqc sirs
..
a trong mai gai tin you can va tra loi, be can bang tai do phong phii car nhat sau mei goi tin cho dung trinh to va s8 ACK de dam bao rang thvc hien dang chuyen doi do phong c6 trang thai. Dieu nay co the tao ra rat nhieu chi phi. De cung cap chuyen d8i do phong co trang thai cho ID phien SSL clya tren chuyen mach, be can bang tai di; phong phii duac cap nhat yen bang ID phien SSL bat dr khi nao co so thay dei trong bang. Khi be can bang GM dy phong tiep quart, n6 phai c6 kha nang ket hqp von met ID phien SSL yen may chit chinh xac de dam brio duy tri ben bi.
Chuyen dei dy phong c6 trang thai la met tinh nang tuyet vol vOl tinh satt sang cao bei vi no khong chi cho phdp chung ta khoi phuc 10 so co cho be can bang di, ma con kheng gay ra bat ky so gian door' nao trong cac hoot dOng ket noi. Tam quan acing cua chuyen doi do ph6ng c6 trang thai la rat h!rn doi von met so img dung. Nhin chung, chuyen den do pheng co trang thai cung cap nhieu lqi ich ham cho cac (mg . dung se dung cac ket not ton tai lau dai. Vi do, cacce ket noi video thutmg thin gian song. kha lau tir me ket not
trong khi de cac ket noht HTTP co t &i gian song thueng rat ngan, beri vi trinh duyet tao ra met hoac nhieu you cau HTTP trong met ket not TCP va sau de se deing ket noi. Thy thuOc vao timg loai san phAm can bang tai, ma taco the kich hoot firth nang chuyen del do . phang c6 trang thai danh cho cac Ong dung co the vai dia chi VIP,
de c6 &Km hieu qua tot trong viec sir dung cac nguon lye dm be can bang tai.
Chuyen dei cly phong co trang thai co the anh huang den , hieu suit dm bo can bang tai trong thiet ke mang. Cac be can bang tai can phai giao tie veri nhau de" co the dong be hem bang phien lam viec, dieu nay tao them cling viec cho cac b0 can bang tai.