Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Often encounter some do Web user Advisory Server Support Online number problem, here to do a brief introduction. Non-technical discussions, such as omissions or errors, please forgive and guide.
For example, a common single way server, the CPU processing multiple processes, not at the same time processing, (can be accurate to 1/1000 seconds), but serial processing. The CPU usually divides the 1-second time into N, and then in order, the first process is processed in the 1th of 1 seconds, and the second process is processed with the second. With the nth processing of the nth process, that is, CPU processing capacity is not in this second in the number of applications submitted, but in the system to the number of CPU time divided.
For example, the number of default processes in the system can support 256, and the CPU will be 1 seconds into 100, then the remaining 156 processes will be executed in the next second, the network card will be requested to enter the memory queue after the message, so usually large memory, you can feel the support of the number of online more In essence, the CPU is related to the time slice, the higher the performance of the CPU partition of the time slice may be more, that is, processing speed quickly.
Of course, a process here is not just a request, a process can usually contain 100 identical requests, so that the CPU can handle the number of requests in 1 seconds for 100*100=10000, however, we know that most users can not only submit a request in a minute, that is, just click on a link.
In addition, bandwidth is the most important factor to support the number of online people, the server according to our guaranteed maximum bandwidth is 5M, that is, 5mbit/s, the server's highest data transmission speed should be 5/8byte/s*1024=640k/s. One minute traffic is about 640k/s*60=38400k, if each user occupies 10K in one minute, that is, 3840 people are supported online in that minute. (Pictures and video class sites are not in this case, because the picture class video class each user in a minute is absolutely more than 10K), but we do not guarantee that each user only accesses one station link in a minute, if each user points the station two links in a minute, then the support online number should be below 2000.
In summary, a low end server in Taichung usually supports up to 2000 people online, and is only suitable for ordinary Web servers and text forums. Does not include the picture class downloading class video class and so on. In fact, a server if the number of online to achieve so much, the operator must be made a lot of, also need to add machine and bandwidth.
Entertainment News www.fgsq2009.cn