Business Scenario

Last updated: 2025-01-02 10:34:41

Suppose your website uses a self-built origin server. Due to insufficient performance of the origin server, users often report slow or failed image loading during peak periods of the business. To improve the response performance of the origin server, you can store static files on Tencent Cloud COS. Additionally, considering that COS storage servers are only deployed in certain regions, to ensure a good browsing and downloading experience for users across the country, you can also access Tencent Cloud CDN for accelerated distribution of files stored on COS.

Specific Requirements

Based on the business scenario requirements, the preliminary sorting of product requirements for Tencent Cloud CDN and COS is as follows:
CDN Requirements:
Domain: www.qcdntest.cn
User Group: domestic users
Origin site domain: The domain name assigned by the COS bucket
Cache TTL: 2 days for JPG/PNG files; 7 days for GIF files and the directory; no cache for PHP files
Other requirements: To control costs, we hope to limit the access bandwidth to 5 Gbps
Bandwidth Estimation Model: Suppose that the average number of daily visitors is 1,000, with the max concurrency of 40 visitors. The bandwidth requirement of each visitor is 50 Mbps, which means the peak bandwidth can reach 50 Mbps * 40 = 2,000 Mbps. Considering the need for redundancy and burst traffic, the bandwidth can be capped at 5,000 Mbps.
COS requirements are as follows:
Bucket region: Guangzhou
Bucket name: pic
Access permission: Private read and write
Storage resources: image category, average file size 500KB