Video: Muaj pes tsawg qhov kev thov tuaj yeem ua tus neeg rau zaub mov hauv ib ob?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
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:
Muaj pes tsawg theem ntawm indirection nyob rau hauv pointers koj muaj peev xwm muaj nyob rau hauv ib qho kev tshaj tawm?
Koj puas tuaj yeem muaj nyob rau hauv ib qho kev tshaj tawm? cov lus teb yog "tsawg kawg 12." txhawb ntxiv. ntawm saj, tab sis muaj qhov txwv. Muaj ob theem ntawm kev taw qhia (tus taw tes rau tus taw tes rau ib yam dab tsi) yog qhov ntau
Dab tsi yog tus neeg siv khoom sab thiab tus neeg rau zaub mov sab lus?
Tus neeg siv-sab lus sau ntawv suav nrog cov lus xws li HTML, CSS thiab JavaScript. Hauv qhov sib piv, cov lus programming xws li PHP, ASP.net, Ruby, ColdFusion, Python, C#, Java, C++, thiab lwm yam. Server-sab scripting yog qhov tseem ceeb hauv kev kho cov nplooj ntawv web thiab siv cov kev hloov pauv hauv cov vev xaib
Tsis tuaj yeem txuas tus neeg rau zaub mov yuav tsis khiav tsis tuaj yeem txuas rau MySQL server ntawm 127.0 0.1 10061?
Yog tias MySQL server tab tom khiav ntawm Windows, koj tuaj yeem txuas nrog TCP / IP. Koj yuav tsum tau kuaj xyuas tias TCP / IP chaw nres nkoj koj siv tsis tau raug thaiv los ntawm firewall lossis chaw nres nkoj thaiv kev pabcuam. Qhov yuam kev (2003) Tsis tuaj yeem txuas rau MySQL server ntawm 'server' (10061) qhia tias kev sib txuas hauv network tau raug tsis lees paub
Muaj pes tsawg tus neeg koj tuaj yeem sau npe hauv video hauv Instagram?
20 cov neeg
Qhov kev pabcuam AWS twg koj tuaj yeem siv los tsim cov zaub mov ua zaub mov?
AWS OpsWorks Stacks siv Chef Cookbooks los ua cov haujlwm xws li txhim kho thiab teeb tsa cov pob khoom thiab xa cov apps. Tshooj lus no piav qhia txog kev siv phau ntawv ua noj nrog AWS OpsWorks Stacks. Yog xav paub ntxiv, saib Chef. AWS OpsWorks Stacks tam sim no txhawb Chef versions 12, 11.10