The customer is a comprehensive online education and training group headquartered in Zhongguancun, Beijing, China and listed on the New York Stock Exchange in 2006. Its businesses include foreign language training, K12 education, preschool education, online education, consultancy for studying abroad, and book publishing. It also has several education sub-brands.
Every summer, a large number of students study on the customer's platforms. Previously, the storage and transcoding logic for audio/video courseware were implemented in a self-built IDC based on servers and NFS. However, due to the high volume of traffic during the summer, the servers in the IDC might not be able to meet the computing requirements, and it would take very long to purchase new hardware devices for self-built services, so the customer wanted to find a flexible method to support rapid business deployment and complete transcoding efficiently.
In use cases such as video and social networking, users upload high numbers of images and audio/video files frequently, which has high requirements for the real-timeness and concurrency capabilities of the processing system. Traditional container services require the customer to maintain the container clusters on their own and have a poor elastic scalability.
SCF supports custom transcoding functions to help enterprises quickly build customized task processing capabilities. This makes up for the blind pots of current separate cloud services and conveniently migrates the FFmpeg service from physical servers, cloud servers, or containers to SCF.
SCF, FFmpeg, and COS can be used in combination as shown below to transcode audio/video files:
In terms of technical solution, SCF and COS are used in combination in the cloud to achieve elastic scalability and sustain all local traffic switched to the cloud. In the new business process, a task scheduling module is added to automatically or manually forward the received business traffic to the proprietary cloud-based services. In addition, many high-availability technologies are added to the process, including full-linkage tracking by task TraceID
and automatic local retry upon cloud computing failure. In the new solution, cloud-based services are easier to develop and maintain and more cost-effective. The pay-as-you-go SCF billing mode also reduces resource costs greatly.
Strengths of using SCF to implement the audio/video transcoding service:
You need to pay attention to the following to connect your existing business to SCF:
Was this page helpful?