Reverse caching yog dab tsi?
Reverse caching yog dab tsi?

Video: Reverse caching yog dab tsi?

Video: Reverse caching yog dab tsi?
Video: This Is What To Look For When Buying Bananas At The Grocery Store 2024, Tej zaum
Anonim

Caching - Ua ntej xa cov backend server cov lus teb rau tus neeg siv khoom, lub thim rov qab proxy khaws ib daim qauv ntawm nws hauv zos. Thaum tus neeg siv khoom (lossis ib tus neeg siv khoom) ua tib qho kev thov, tus thim rov qab proxy tuaj yeem muab cov lus teb nws tus kheej los ntawm cache es tsis txhob xa cov lus thov mus rau lub backend server.

Kuj paub, vim li cas nws thiaj li hu ua reverse proxy?

A rov qab npe server yog hom npe server uas feem ntau zaum tom qab firewall hauv lub network ntiag tug thiab coj cov neeg thov kev thov mus rau qhov tsim nyog backend server. A rov qab npe muab ib theem ntxiv ntawm kev paub daws teeb meem thiab kev tswj xyuas kom ntseeg tau tias kev sib luag ntawm kev sib txuas hauv network ntawm cov neeg siv khoom thiab cov servers.

Ib yam li ntawd, dab tsi yog qhov rov qab tso npe nrog piv txwv? Ib lub vev xaib yuav muaj ntau lub vev xaib servers tom qab rov qab npe . Cov rov qab npe server siv kev thov los ntawm Is Taws Nem thiab xa cov kev thov no mus rau ib qho ntawm cov web servers. js web server qab lwm lub vev xaib zoo li Nginx, yog li Nginx yog tus rov qab npe . Ib piv txwv yog Ghost blog platform.

Tsis tas li, thaum twg koj yuav siv lub npe rov qab?

Rov qab proxies kuj tseem siv los ua ib qho kev siv caching cov ntsiab lus thiab compressing inbound thiab outbound cov ntaub ntawv, ua rau kom ceev thiab smoother khiav ntawm cov neeg siv khoom thiab servers. Tsis tas li ntawd, lub rov qab npe tuaj yeem tswj hwm lwm yam dej num, xws li SSL encryption, ntxiv txo cov load ntawm web servers.

Puas yog rov qab tso npe ruaj ntseg?

Feem ntau high-end rov qab proxies khiav ib tug proprietary operating system thiab tiv thaiv Web server tawm tsam, tsis hais hom Web server lawv tiv thaiv. Rov qab proxies yog qhov yooj yim rau kev siv thiab muab muaj zog kev ruaj ntseg tawm tsam Web server tawm tsam. Muaj ob peb yam zoo heev rov qab npe cov neeg muag khoom.

Pom zoo: