Some currently popular methods for limiting virtual host/space traffic

888u

Last update at :2023-12-12,Edit by888u

Virtual host restrictions are an indisputable fact. Even if they say there are no restrictions, they are actually restricted. It is impossible for you to use up all the resources of the hen alone. Then the host provider is in the northwest! Especially some very cheap ones are very restrictive! This website clearly remembers that in order to get a bargain, this website bought a very cheap virtual host. To be honest, it was really impossible to use it! Due to various restrictions, I often can’t use it when I test it!

1. Traffic restrictions

It is to limit the total monthly traffic of the website. After the monthly traffic exceeds, the website will be automatically closed and will be automatically opened at the beginning of next month. The solution is to upgrade the space or increase the traffic! 10g of traffic generally supports 50 people online or about 2,500 views per day.

Advantages: The data can be quantified. Both service providers and users can understand the daily and monthly traffic in detail. Combining logs and access statistics, it can analyze which file access caused the increase in traffic.

Disadvantages: It is more complex to implement. It requires keeping user access logs and automatically using a program to summarize statistics every day. Also design a program to automatically close and open websites with excessive traffic. Therefore, small and medium-sized virtual hosting service providers that lack technical strength cannot support this restriction method.

At present, the virtual host service providers that are slightly higher in the country: Wanwang, China Channel, Business China, Xinwang Internet, Nihao Wanwei, Western Digital, etc. have all adopted this traffic restriction method.

2. IIS limitations

IIS restriction is currently the most commonly used restriction method by small and medium-sized virtual hosting service providers, that is, limiting the number of simultaneous connections to the website. If too many people visit at the same time, the website will not be open.

Advantages: The implementation is very simple and can be set directly in the IIS of the server. No program development is required.
Disadvantages: The data cannot be quantified, and neither the service provider nor the user can see the number of simultaneous connections to the website. If a prompt such as Service Unavailable appears on the user's website, the service provider will say that the user has too many simultaneous connections, and the user will say that only a few people are online on my website. In addition, IIS restrictions sometimes cannot really play the role of restricting websites that occupy particularly resources. According to tests, a website with an IIS limit of 100 connections provides rar files for users to download, and the total traffic in a day can reach more than 30G. The 30G traffic is the total traffic of a normal virtual host server in a day. In other words, a website worth a few hundred yuan can take up all the resources of the entire server. The IIS restriction does not really serve the purpose of restriction. Some dishonest service providers promise users 200 iis connections, but the server is set to 20 connections, and the users are unaware!

3. CPU limitations

The CPU limit is usually set to 1% or 2% of the CPU limit. It will be automatically shut down after the CPU resource is exceeded. This is the method currently used by most cheap virtual hosts!

Advantages: The implementation is very simple and can be set directly in the IIS of the server. No program development is required.
Disadvantages: The data cannot be quantified, and neither the service provider nor the user can see the CPU currently occupied by the website. If the server is win2000, the cpu limit has basically no effect and will not have the effect of restriction. If it is win2003, because many websites share a process pool, if "Shut down when CPU resources exceed" is set, if a website in the pool takes up too many resources, it will cause the pool to hang, affecting the normal operation of other websites in the same pool. run. And the recovery time is slower! Passing the CPU limit will often cause the website to fail to open, so there are relatively few service providers that use this method.

The other kind is a virtual host without any restrictions. This kind of space is usually closed once the user visits a large amount and requires an upgrade. The reason is: the website takes up too many server resources. It is impossible for you to use up the entire hen resource!

In fact, some host providers have restrictions in all aspects, such as traffic, CPU, and IIS. Hey, free hosts or very low-cost hosts use this method. I don’t know how many servers are placed on a hen. Stand!

Recommended site search: URL registration, online personal website generation, Chinese domain name registration, Japanese server rental Japanese server, American virtual space, American proxy IP, website virtual host space, enterprise virtual host, server proxy IP, Alibaba Cloud server,

Some currently popular methods for limiting virtual host/space traffic

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码