Muaj pes tsawg qhov kev thov tuaj yeem ua tus neeg rau zaub mov hauv ib ob?
Muaj pes tsawg qhov kev thov tuaj yeem ua tus neeg rau zaub mov hauv ib ob?

Video: Muaj pes tsawg qhov kev thov tuaj yeem ua tus neeg rau zaub mov hauv ib ob?

Video: Muaj pes tsawg qhov kev thov tuaj yeem ua tus neeg rau zaub mov hauv ib ob?
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim

Formula rau xam qhov max peev ntawm koj web server

Cov servers muaj peev xwm yog 32 CPU cores, yog li thaum txhua thov mus rau lub vev xaib ntawm qhov nruab nrab siv 0.323 vib nas this ntawm lub sijhawm CPU - peb yuav cia siab tias nws yuav tuaj yeem cuam tshuam nrog kwv yees li 32 cores / 0.323 vib nas this CPU lub sij hawm = 99 thov ib ob.

Ib yam li ntawd, pes tsawg qhov kev thov ib txhij tuaj yeem ua tus neeg rau zaub mov hauv Web?

Koj ua tau muaj 1,000 kev thov ib txhij ib ob, nyob ntawm seb yuav thov dab tsi.

Tsis tas li ntawd, koj yuav suav li cas thov ib ob? Thov ib ob : 30 (H) Load-balanced servers: 3 (V) Concurrents thov rau neeg rau zaub mov: 20 (Q) Seconds rau Thov ( rau server rau concurrent kev twb kev txuas), L = (1 / H) * V * Q = (1 / 33.333) * 3 * 22 = 2 vib nas this.

Ib yam li ntawd, koj tuaj yeem nug, pes tsawg qhov kev thov ib ob Google ua li cas?

Google tam sim no txheej txheem ntau dua 40,000 cov lus nug tshawb fawb txhua thib ob qhov nruab nrab (pom lawv ntawm no), uas txhais mus rau ntau dua 3.5 billion tshawb nrhiav rau hnub thiab 1.2 trillion tshawb nrhiav rau xyoo thoob ntiaj teb.

Muaj pes tsawg qhov kev thov ib ob Facebook ua li cas?

Nrog 500 lab tus neeg siv, Facebook muaj 13m thov ib ob . Tam sim no, nrog 4 billion tus neeg siv, tej zaum lawv kov ± 100M thov ib ob.

Pom zoo: