How is the beautiful sounding serverless landing in China?

Time:2020-11-3

Speaking of the most popular technology, we have to mention the concept of serverless. In 2019, almost everyone is talking about serverless. How many people actually implement serverless? As a new type of Internet architecture, serverless directly or indirectly promotes the development of cloud computing. From AWS lambda to alicloud functional computing, serverless has been singing all the way. At the same time, lightweight computing based on serverless has begun to log on to the stage of cloud computing.

The traditional IT architecture is no longer suitable for today’s rapid development of digital economy environment. “Customers expect not only zero downtime, but also consistent performance for applications anywhere in the world,” says Declan Morris, a technical consultant Next, he predicts, is the world of serverless computing and function-as-a-service (FAAS). In the world of serverless, this simply calls a function or a series of functions to get the result. In addition, the calculation cost of serverless is lower than the cost based on server. If you use serverless, you only need to pay for the execution of the function.

How about the beautiful sounding serverless? In December 2019, consulting firm o’reill released a survey on the use of serverless, and 40% of the respondents’ organizations have adopted serverless.

As an event driven full hosted computing service developed earlier in China, alicloud function computing has landed multiple customers such as Malong technology, microblog, mango TV and graphite document. Let’s take a look at how China’s head Internet companies use functional computing to help business development.

Malong technology – deep learning

How is the beautiful sounding serverless landing in China?

Company profile

Shenzhen Malong Technologies Co., Ltd
It is an artificial intelligence company focusing on deep learning and computer vision technology innovation, creating an international leading visual intelligence technology platform. It has a world-class top R & D team and a deep learning algorithm model trained by tens of millions of images. With solid and efficient engineering architecture ability and product realization ability, it provides enterprise customers with international leading computer vision solutions Program.

customer demand

When customers of Malong upload a large number of image data, they need to process the images as soon as possible according to the way specified by customers, including commodity identification, textile fabric and other flexible material identification and analysis, content review, image search, etc. Image processing is based on the deep learning model of code long pre training, which requires a large amount of computing resources to be prepared for large-scale parallel processing in a short time.

Solution

The deep learning reasoning logic is implemented as a function, and the image data is processed after loading the model in the function. Through the large-scale computing power provided by function computing, customers can process a large number of images in a short time, and cope with peak pressure smoothly.

Application effect

As a result, customers no longer need to maintain the infrastructure work, the development efficiency is greatly improved, and the function development is launched in two weeks. Customers can easily create multiple functions to verify the reasoning effect of different deep learning models, quickly iterate the system, and accelerate business innovation. The real-time scaling of function computing ensures that the client application can provide enough computing resources when encountering peak load, and improves the quality of service. In addition, customers only need to pay for the actual use of resources, which avoids idle resources and saves the overall cost by 30%.

Sina Weibo – personalized image processing

How is the beautiful sounding serverless landing in China?

Company profile

Weibo / Sina Weibo is a leading social media platform for people to create, disseminate and discover Chinese content. Users can access through PC, mobile phone and other mobile terminals, create and publish text and multimedia content, and realize real-time information sharing.

customer demand

In order to adapt to different mobile phone screens and operating systems, personalized processing of images is needed. Microblog has a large number of users, and the system should be able to handle a large number of call requests every day, and maintain a stable delay.

Solution

Microblog stores the images uploaded by users into alicloud object storage, and realizes personalized image processing logic in the function. When the mobile client gets the image, it returns to the function calculation through alicloud CDN service. The function downloads the original image from the alicloud object storage, and returns the resulting image after real-time processing.

Application effect

Customers only need to focus on the development of image processing logic, which greatly improves the engineering efficiency. Function computing automatically expands the underlying computing resources in real-time to ensure that the application can still maintain a stable delay when the load changes dynamically, and smoothly handle a large number of call requests. Customers no longer reserve computing resources for peak load, which reduces the cost.

Mango TV data preheating

How is the beautiful sounding serverless landing in China?

Company profile

Mango TV is the only Internet video platform under Hunan Radio and television station, which provides all columns of Hunan Satellite TV with high-definition video live on demand, and provides users with all kinds of popular movies, TV plays, variety shows, animation, music, entertainment, etc. Hunan happy sunshine interactive entertainment media Co., Ltd. (hereinafter referred to as “happy sunshine”) is responsible for the specific operation. It is the only new media organization of Hunan Radio and television station to develop network video business.

customer demand

After mango TV uploads the short video, the customer’s back-end system needs to process the uploaded data in real time. When the amount of data is large, there will be queuing phenomenon. If multiple servers are set up to process the short video, the resources will be idle and wasted when the business is at a low ebb.

Solution

Microblog stores the images uploaded by users into alicloud object storage, and realizes personalized image processing logic in the function. When the mobile client gets the image, it returns to the function calculation through alicloud CDN service. The function downloads the original image from the alicloud object storage, and returns the resulting image after real-time processing.

Application effect

The whole process does not need human intervention. Function computing can efficiently monitor events stored in Alibaba cloud objects, and can quickly transfer data to the back-end algorithm system to improve processing efficiency. During the peak period of uploading video, the elastic scaling of function calculation is used to ensure that all events can be handled in time.

CSIRO gene sequencing in Australia

How is the beautiful sounding serverless landing in China?

Company profile

The Commonwealth Scientific and Industrial Research Organization (CSIRO), formerly known as the Advisory Council of science and industry established in 1926, is the largest national scientific and technological research institution in Australia.

customer demand

The “genome health clinic” project established by CSIRO aims to design personalized nutrition and lifestyle through big data analysis based on gene diagnosis data and individual life information, so as to effectively reduce genome damage, delay aging and reduce the risk of aging related diseases. Customer’s load is dynamic and needs elastic computing resources. Based on specific algorithm, gene data is analyzed quickly to generate analysis report.

Solution

Gene data is stored in the object storage service of Alibaba cloud. After a customer’s user submits a gene analysis request on the console, multiple functions will be triggered to scan and analyze gene data in parallel. Finally, the analysis report will be displayed on the console page. The whole system uses Alibaba cloud services such as object storage, table storage, function calculation, API gateway, etc. All components are resilient and highly available.

Application effect

The whole system uses serverless architecture, users do not need to maintain the server and other infrastructure, the development efficiency is greatly improved. The client’s load is dynamic, the function calculation can be scaled in real time, and the required computing resources are prepared. Customers can analyze a large number of gene data in a short time. Customers pay according to the actual use of computing resources, there is no idle resources, the financial cost is greatly reduced.

115 technology – streaming data processing

Company profile

Guangdong yi15 Technology Co., Ltd. is a high-tech enterprise with independent intellectual property rights, and an Internet service provider with cloud storage and cloud analysis as the core. As a typical technology intensive Internet enterprise, 115 company’s product R & D personnel account for nearly 80%, and master a number of core technologies with independent intellectual property rights. The company’s circle system, network disk system, client, synchronous disk and other products have successively obtained computer software copyright.

customer demand

User access 115 generates massive access logs. Customers need to compress log data, format conversion and other operations, and store the processed data in database or object storage. The whole system architecture needs to consider high concurrency and real-time processing capability

How is the beautiful sounding serverless landing in China?

Solution

Customers use alicloud log service (loghub) to store logs and use functions to calculate and process logs. When logs are continuously written in the form of streams, alicloud log service will automatically trigger the customer’s functions to process the data, compress and convert the logs according to business rules and store them in the database or object storage.

Application effect

Users don’t need to maintain the server, just need to implement the processing logic as a function, which can process the log in real time, and greatly improve the development efficiency. After the customer writes the log to the alicloud log service, the function is automatically triggered to process the log data. Every link of the system is reliable and elastic, which can easily cope with the dynamic load of customers.

Graphite document real time collaborative office

How is the beautiful sounding serverless landing in China?

Company profile

Graphite document is the first enterprise office service software supporting cloud collaboration in China (the function is similar to Google doc, quip, etc.), which can realize multiple people operating in the same document and form at the same time, and the synchronous response speed reaches millisecond level, which is the best choice for team cooperation. Graphite document is also a science and technology product with Chinese aesthetic feeling, and won the top 50 best Internet innovative products selected by geek Park in 2015.

customer demand

When users of several graphite documents are editing on the same document / form, they may modify the same content and cause conflicts. Graphite documents need to implement a set of services to deal with document editing conflicts in real time and smooth peak load at reasonable cost.

Solution

Real time document collaboration and other computationally intensive logic are implemented as functions, which are triggered by HTTP requests.

Application effect

With the ability of resource scaling in millisecond level, the problem of computing resource expansion caused by the sudden increase of peak usage in the morning and evening is solved, and the server cost is saved by 58%.
Because the load balancing problem of CPU intensive computing is no longer considered, the development efficiency and process stability are greatly improved.

epilogue

Based on function calculation, users will benefit from engineering excellence, reliability, safety, performance and cost, and the application will run in a reliable, efficient and safe way. On this basis, users can focus on the innovation of the business layer, so as to obtain a significant competitive advantage.

Function calculation official website link: https://www.aliyun.com/product/fc


The author: Alibaba cloud original assistant

Read the original

This article is the content of Alibaba cloud and can not be reproduced without permission.

Recommended Today

Don’t be a tool man. Touching hands teaches you Jenkins!

Hello everyone, I’m a piece of cake, a piece of cake eager to be Cai Bucai in the Internet industry. Soft or hard, praise is soft, white whoring is just!Ghost ~ remember to give me a third company after watching it! This article mainly introducesJenkins If necessary, please refer to If it helps, don’t forgetgive […]