Qhov twg yog qhov zoo tshaj Apache lossis nginx?
Qhov twg yog qhov zoo tshaj Apache lossis nginx?

Video: Qhov twg yog qhov zoo tshaj Apache lossis nginx?

Video: Qhov twg yog qhov zoo tshaj Apache lossis nginx?
Video: Nkauj Ntseeg Tawm Tshiab 2023 | "Vajtswv Lub Siab Zoo Tshaj Plaws" 2024, Kaum ib hlis
Anonim

NGINX yog li 2.5 npaug sai dua Apache Raws li cov txiaj ntsig ntawm qhov ntsuas ntsuas ntsuas tau nce mus txog 1,000 qhov sib txuas sib txuas. Kom meej meej, NGINX pab cov ntsiab lus zoo li qub sai dua Apache . Yog tias koj xav tau kev pabcuam ntau cov ntsiab lus zoo li qub ntawm qib siab concurrency, NGINX tuaj yeem pab tau tiag.

Hais txog qhov no, qhov twg yog qhov ruaj ntseg dua Apache lossis nginx?

3rd Party core modules (tsis dynamically loadable) Nws yog suav hais tias ntau ruaj ntseg dua tshaj Apache server raws li arbitrary Cheebtsam yuav hooked nyob rau hauv lub server. Tsis tas li ntawd, NGINX muab tag nrho cov yam ntxwv tseem ceeb ntawm lub web server, yam tsis muaj kev txi lub teeb yuag thiab kev ua haujlwm siab uas tau ua rau nws ua tiav.

Tsis tas li ntawd, Apache puas yog nginx? Nginx thiab Apache yog cov web servers nrov siv los xa cov nplooj ntawv web rau tus neeg siv lub browser. Hauv peb qhov xwm txheej, los ntawm lub vev xaib WordPress. Ceev stats: Apache tau tso tawm thawj zaug hauv 1995, tom qab ntawd tuaj Nginx hauv 2004.

Hauv qhov no, vim li cas Nginx sai dua Apache?

Apache siv ntau lub cim xeeb, vim hais tias txhua txoj xov siv me ntsis ntawm lub cim xeeb, yog li yog tias koj muaj 100 threads nws yuav ntxiv. Qhov no yog lub ntsiab yog vim li cas nginx sai dua , txhais tau tias nws tuaj yeem pab tau ntau qhov kev thov ib ob dua Apache nyob rau tib lub hardware.

Apache puas yog qhov Web server zoo tshaj?

Apache powers 52% ntawm tag nrho cov cov vev xaib thoob ntiaj teb, thiab tam sim no yog qhov nrov tshaj plaws web server . Thaum Apache httpd feem ntau pom khiav ntawm Linux, koj tuaj yeem xa mus Apache on OS X and Windows. Apache yog, unsurprisingly, ntawv tso cai nyob rau hauv lub Apache Daim ntawv tso cai version 2.

Pom zoo: