All Products
Search
Document Center

Object Storage Service:Does OSS throttle bandwidth and QPS?

Last Updated:Jan 04, 2024

Object Storage Service (OSS) throttles bandwidth and queries per second (QPS) when you upload data to and download data from OSS.

You can run the probe command in ossutil to check the network status. For more information, see probe.

Item

Description

Bandwidth limits

OSS has an upper limit on bandwidth per region within an Alibaba Cloud account:

  • China (Hangzhou) and China (Zhangjiakou): Both the total upload bandwidth and the total download bandwidth over private and public networks are 20 Gbit/s for either of the regions.

  • China (Shanghai), China (Shenzhen), and China (Beijing): For each of the regions, the total upload bandwidth over private and public networks is 20 Gbit/s, with the maximum upload bandwidth over the public network limited to 10 Gbit/s. For each of the regions, the total download bandwidth over private and public networks is 100 Gbit/s, with the maximum download bandwidth over the public network limited to 10 Gbit/s.

  • Other regions in the Chinese mainland: Both the total upload bandwidth and the total download bandwidth over private and public networks are 10 Gbit/s for each of the Chinese mainland regions except for China (Hangzhou), China (Zhangjiakou), China (Shanghai), China (Shenzhen), and China (Beijing).

  • Regions outside the Chinese mainland: Both the total upload bandwidth and the total download bandwidth over private and public networks are 5 Gbit/s for each of the regions.

Note

When a request is throttled, the response to the request contains the x-oss-qos-delay-time: number header, in which number indicates the duration in milliseconds for which the request is throttled. For a throttled upload request, this header indicates the exact duration of throttling. For a throttled download request, this header indicates a throttling duration estimated based on the extent of throttling and the object size.

The bandwidth limits can be increased to meet higher bandwidth requirements for business applications such as big data offline processing. To request an increase of bandwidth limits, contact technical support.

You are not charged for a bandwidth increase. You are still charged based on traffic after the bandwidth is increased. For more information, see Traffic fees.

QPS

The total queries per second (QPS) for an Alibaba Cloud account is 10,000. The actual maximum QPS performance varies based on the read and write modes:

  • Sequential read and write: 2,000

    If you upload a large number of objects and the names of the objects contain sequential prefixes such as timestamps and letters, multiple object indexes may be stored in a single partition. In this case, if you send a large number of requests to query these objects, latency is increased. We recommend that you do not upload a large number of objects whose names contain sequential prefixes. For more information about how to change sequential prefixes to random prefixes, see OSS performance and scalability best practices.

  • Non-sequential read and write: 10,000

If your business requires a higher QPS, contact technical support.

Note

The bandwidth and QPS limits of OSS also affect the bandwidth that you use to download data from OSS to CDN. CDN caches hot data to reduce the number of requests that you send to download static resources from OSS.