G-Core Labs CDN has a new feature—download speed limit. It allows you to reduce the speed of delivering content to users.
Let’s see what this feature is for, how it works, and how to enable it.
This is relevant for those using a CDN to stream videos. Limiting the speed allows you to reduce the bandwidth consumed and reduce costs.
The maximum speed is required only when the video is running on the user’s device: you need to transfer enough fragments as quickly as possible for the player to start playing.
While the first video fragments are being played, the rest buffer, and such a high download speed is no longer needed. All the while, the video continues to be transmitted as quickly as possible. More and more fragments are buffered despite the fact that there are already enough fragments for playback. It turns out that some of the paid resources are wasted.
But, if after launching the video, you limit the speed to the optimal one, then the viewers will download it just as quickly and play without delays, and you won’t overpay for CDN traffic.
This feature can also be useful when you need to limit the speed for some users so that the rest have a higher speed.
Let’s say users can watch movies on your website. There is a free plan with ads and a paid subscription without ads.
You want to simultaneously disable ads for those who paid for the subscription, and provide them with the maximum download speed. How do you do it? By limiting the speed of the free plan.
You set limits for those who watch movies for free, and the remaining capacity goes to those who paid for the subscription. They then have a higher download speed.
Our option has two modes: static and dynamic.
In this mode, you set a limit on all content that is transmitted through the CDN. In your personal account, you set the maximum connection speed. Additionally, you can specify how much data will be downloaded without limit.
For example, customers watch streaming video on your website. You know that 100 Kbps will be enough to download it. But, when starting the video, the speed should be at its maximum. For the video to start, you need to transfer 5 MB.
If you don’t need a certain amount of data to be transferred without the limit, don’t set this parameter. Then, the limit that you have set will take effect from the first byte of the stream.
This option allows you to set different limits for different users, or for different types of content. The speed is adjusted here based on requests with the ‘speed’ and ‘buffer’ arguments. ‘Speed’ sets the maximum connection speed, and ‘buffer’ sets how much data will be transferred without the speed limit. The ‘buffer’ argument is optional.
Let’s get back to the movie and paid subscription example above. To limit the speed for those who watch movies for free, create this link:
Subscribers of the free plan will only get to the website using this link, and they will be subject to a speed limit of 100 Kbps after downloading 5,000 KB.
Paid users, on the other hand, will have a regular link without speed and buffer, and their content will be downloaded without the limit.
You enable this feature in your personal account.
Set your own content delivery rules using flexible settings in your CDN personal account.