How can I design a large website? I am a little bit knowledgeable about building a website. For example, the daily PV of a website is estimated to be 1 billion. My understanding: users access the server through IP addresses on the client. In addition, each user accesses the same IP address. If 1 billion PVs are concentrated within 10 hours, how can a large website be designed every hour?
I am a little bit knowledgeable about building websites. I beg for your advice.
For example, the daily PV of a website is estimated to be 1 billion.
My understanding: users access the server through IP addresses on the client. In addition, each user accesses the same IP address. If 1 billion PVs are concentrated within 10 hours, 0.1 billion PVs are generated per hour. It can be considered that the traffic volume can reach one million or even ten million times in a busy hour.
1. for a 2G Hz server, 2 billion machine commands can be processed. Considering that the server cannot be fully loaded or run only one service, is one server enough to respond to so many visits?
2. if one server cannot respond, will the project adopt the collaboration of multiple servers ??? In this case, how do I allocate access requests to different servers for the same IP address ??? The allocation request is also a server. does this server need to respond to all IP requests )? (Is it wrong ????)
3. a server may be down. if it goes down, how did the original request be transferred to the backup server ??? Server traffic high-performance server sharing:
------ Solution --------------------
A single machine can have a maximum of 65535 ports.
The CPU capacity has been well-tuned since one machine has 10 thousand concurrent connections, even if each connection content is transmitted only one byte (in fact, the TCP handshake itself also transmitted a lot of bytes)
Your questions should be asked in the high-performance edition.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service