Limiting Download Speed By Single-Connection Bandwidth Throttling
Scenarios
To prevent a client from using a large amount of bandwidth to access objects, you can use single-connection bandwidth throttling to limit the download speed, allowing other applications to have enough bandwidth.
You can limit download speed by:
SDK
When you use an SDK to send a request, you can only limit the download speed by single-connection bandwidth throttling. For details, see Single-Connection Bandwidth Throttling.
Object URL
Item |
Description |
---|---|
Object |
Public read or public read/write object |
Method |
Add the bandwidth limit parameter in the x-obs-traffic-limit=value format to the end of the URL of the shared object. The value can be from 819200 to 838860800, in bit/s. |
Scenarios |
Object downloads |
Example |
https://bucketname.obs.cn-north-4.myhuaweicloud.com/object1?x-obs-traffic-limit=819200 indicates that the maximum download speed of object1 is 100 KB/s. |
Signed URL
Item |
Description |
---|---|
Object |
Private object |
Method |
When you use an SDK to generate a signed URL, add the bandwidth limit parameter in the x-obs-traffic-limit=value format to the signature for calculation. The value can be from 819200 to 838860800, in bit/s. |
Scenarios |
Object downloads |
Example |
https://bucketname.obs.cn-north-4.myhuaweicloud.com/object1?x-obs-traffic-limit=819200&Signature=signature. |
Header Field
Item |
Description |
||
---|---|---|---|
Object |
Private object |
||
Method |
Add the bandwidth limit parameter in the x-obs-traffic-limit:value format to the header field. The value can be from 819200 to 838860800, in bit/s. |
||
Scenarios |
Object downloads |
||
Example |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot