The server has a great impact on the website, whether it is SEO optimization or user experience, and the choice of website server configuration is inseparable from the website traffic. If our website is large, we need to choose an ECS with high configuration. If the traffic is large, we need to choose large bandwidth. What are the specific site and server space configuration options? Specific website type and traffic configuration recommendation Static page, enterprise website Fixed daily IP number. Theoretical formula: (number of people opened at the same time * page size)/bandwidth rate=time The factors of static page opening website are mainly related to the page size and the number of simultaneous visits. Blog, community website Fixed daily IP volume Assume that the execution time of dynamic language php is 1 second (not included). Theoretical formula: (number of people opened at the same time * page size)/bandwidth rate=time The opening speed of dynamic websites is mainly related to the page size and the number of simultaneous accesses, CPU and memory. Games, APP, medium and large websites, and hairstyles Fixed parameters: page size Theoretical formula: (concurrency * packet size)/bandwidth rate=time Concurrency=simultaneous server connection in one second=simultaneous online The configuration required by the concurrent website is higher than that required by other types of websites. Server rental load and website access Usually we choose the server configuration based on the number of visitors, but in fact, the choice of server rental configuration mainly depends on the number of people who are online at the same time, so webmasters should not only record the number of visitors to the website every day, but also make a detailed table record of the peak number of people and time when the website is online at the same time, This is more important for the selection of server configuration. The following are the reference values for website visits, server CPU and memory selection. Memory For website building, the memory of the server also has a great impact on the website. If the memory capacity is larger, the more it can withstand simultaneous online access. For website building, it is generally recommended to select more than 2GB of memory. bandwidth Network bandwidth can be said to be an access channel for websites, and the size of this channel will also have a great impact on the speed of website access. Therefore, when selecting bandwidth, we should not only consider the throughput of the server, but also the range that the bandwidth can withstand during the peak period of the network. If it is a small website, the webmaster can choose a smaller bandwidth, but when choosing the bandwidth, relevant tests must be done to prevent the impact of network peak hours on website access. For large websites, it is recommended to choose a larger bandwidth. The specific size depends on the number of visits to your website and the simultaneous online rate. CPU selection and website type CPU is a core factor of the server. The better the CPU performance, the higher the ability to process websites. Therefore, users should consider the actual situation when choosing. For general corporate websites or personal websites, there may not be many visitors, so it is OK to choose a single core or dual core CPU. For large forums or web games, there will be more visitors, In addition, a large number of data requests will be generated, so 4-core+should be the priority when selecting. disk The size of the ECS disk depends on the amount of data on your website. Disk usage is generally not more than 80%. With the increase of storage capacity, it can be upgraded elastically. For details, please refer to Disk configuration upgrade. |