Overview
Background
More and more companies in various industries use OBS to store static resource files such as images, videos, and software packages, and use OBS as the storage source for websites, forums, apps, and games. You can directly request for these static resources from OBS using URLs. Figure 1 shows the data request process. OBS can solve the problem of insufficient local storage. Generally, files are stored in only one region. The response speeds for users accessing OBS in different regions are different. In scenarios where frequent access is required, accessing OBS to obtain files consumes a large amount of traffic.
Solution Description
OBS provides low-cost storage, and HUAWEI CLOUD CDN provides website acceleration, file download acceleration, and on-demand acceleration. Storing data on OBS and using CDN for service acceleration can reduce costs and improve user experience as well. When a user initiates an access request, CDN searches for the CDN node with the fastest response speed and checks whether the content requested by the user is cached on the CDN node.
If the CDN node does not cache the requested data or the cache expires, CDN retrieves the content from OBS. See Figure 2.
When another user accesses the same data, CDN directly returns the cached data to the user without sending another access request to OBS. Figure 3 shows the process of accessing OBS using CDN when the CDN node caches the desired content.
Solution Advantages
- Low cost: OBS provides pull traffic packages with preferential prices for CDN to pull content from OBS. When data is cached on CDN nodes, subsequent requests are charged based on the pull traffic consumed by CDN, which reduces OBS costs.
- High efficiency: The CDN service on HUAWEI CLOUD has sufficient acceleration resources and widely distributed nodes. It ensures that user requests are precisely scheduled to the optimal edge node to provide effective and stable acceleration effects.
Application Scenarios
- Applications or services that provide file download services through OBS. For example, websites, tool download services, game clients, and app stores that use the HTTP file download services.
- Applications or services that provide audio on demand (AOD) or video on demand (VOD) services through OBS. For example, online education websites, online video sharing websites, Internet VOD platforms, and video/audio on-demand apps.
Constraints and Limitations
This solution applies only to buckets whose version is 3.0 or later. You can view the bucket version in Basic Information area on OBS Console.
Last Article: Using CDN to Accelerate Access to OBS
Next Article: Using CDN to Accelerate OBS File Download



Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.