Help Center/ Object Storage Service/ User Guide/ Object Management/ Limiting Download Speed By Single-Connection Bandwidth Throttling
Updated on 2025-07-01 GMT+08:00

Limiting Download Speed By Single-Connection Bandwidth Throttling

Scenarios

To prevent a client from using a large amount of bandwidth to download objects, you can use single-connection bandwidth throttling to limit the download speed, allowing other applications to have enough bandwidth.

You can limit the 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

Downloading objects

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

Downloading objects

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

Downloading objects

Example

1
2
3
4
5
6
7
GET /object01 HTTP/1.1
User-Agent: curl/7.29.0
Host: examplebucket.obs.region.myhuaweicloud.com
Accept: */*
Date: WED, 01 Jul 2015 04:24:33 GMT
Authorization: OBS H4IPJX0TQTHTHEBQQCEC:NxtSMS0jaVxlLnxlO9awaMTn47s=
x-obs-traffic-limit:819200
OSZAR »