All Products
Search
Document Center

Object Storage Service:Use services such as Alibaba Cloud CDN and OSS to accelerate long-distance data transmission

Last Updated:Mar 04, 2025

Overview

Long-distance data transmission may lead to issues such as slow access or inaccessibility. This topic describes how to use Alibaba Cloud CDN, DCDN (Dynamic CDN), Global Accelerator (GA), and Object Storage Service (OSS) to accelerate long-distance data transmission.

Methods

Alibaba Cloud CDN uses the cache of a point of presence (POP) to accelerate connections. If the POP has no cache, the POP must retrieve resources from the origin server. You can use the following methods to avoid limits on long-distance connections:

  • Method 1: Use Alibaba Cloud CDN or DCDN to prefetch and cache the resources that need to be accessed to the POP in advance. This allows the client to directly access the resources obtained by the POP and avoids limits on long-distance connections. For more information, see Purge and prefetch resources.

  • Method 2: Use two origin servers (one origin server is in the Chinese mainland and the other origin server is outside the Chinese mainland). You can configure the HOST information in the HTTP request headers to specify the origin server that you want to access when the DCDN POP retrieves resources from the origin server. DCDN obtains resources from the corresponding origin server based on the HOST information during the back-to-origin process. For more information, see Configure an origin server.

    Note

    When multiple origin servers have the same priority, DCDN redirects requests to the origin servers based on the weights of the origin servers. This implements load balancing between the origin servers.

    • Requests of POPs in the Chinese mainland are redirected to the origin server in the Chinese mainland.

    • Requests of POPs outside the Chinese mainland are redirected to the origin server outside the Chinese mainland.

  • Method 3: Use GA to deliver network access requests from clients to endpoints by using intelligent routing to improve the access speed and efficiency. For more information, see Get started with GA.

  • Method 4: Migrate the origin service to OSS, redirect requests to OSS by using Alibaba Cloud CDN and DCDN, and use the transfer acceleration feature of OSS. To use this method, perform the following steps:

    Note

    The transfer acceleration feature mainly aims to resolve long-distance data transmission issues, but works in a different way from Alibaba Cloud CDN and DCDN. For more information, see Differences between Alibaba Cloud Content Delivery Network acceleration and OSS transfer acceleration.

    1. Migrate the origin service to OSS. For more information, see Overview.

    2. Enable transfer acceleration for OSS. For more information, see Enable transfer acceleration.

    3. Add an Alibaba Cloud CDN or DCDN accelerated domain name.

    4. Set the back-to-origin host to the OSS acceleration endpoint. For more information, see Configure the default origin host.

References