Application architecture stepping into “no server” era, serverless technology ushering in new development


Abstract:At the 2021 cloud native industry conference with the theme of “original storage, cloud leads the future”, the product manager of Huawei cloud serverless function service shared the keynote speech of “Huawei cloud serverless function service, making the development of cloud extremely simple and efficient”.

On May 26, the 2021 cloud native industry conference with the theme of “native storage, cloud leads the future” opened in Beijing. Huawei cloud serverless function graph passed five categories and 20 + tests, including basic capability requirements, platform observability, service performance, service security and service measurement accuracy, in order to ensure stability, reliability, reliability, reliability and reliability Efficient service capability won the trusted cloud function, namely service capability certification. At the same time, in the cloud native 2.0 sub forum, the product manager of Huawei cloud serverless function service shared the keynote speech of “Huawei cloud serverless function service, making development on the cloud extremely simple and efficient”.
Application architecture stepping into
Huawei cloud functiongraph won the certification of trusted cloud function as a service capability

As one of the important forces in the development of cloud native technology, serverless has opened the “no server” era of application architecture, and brought new ideas for architecture design and developer programming. The rise of serverless technology greatly simplifies the programming model of cloud computing, allowing developers to focus on application innovation without paying attention to servers.

With the continuous evolution of application architecture, serverless 2.0 carries all-round and efficient application development

The improvement of application complexity and the development of cloud computing continue to promote the continuous evolution of application architecture and programming methods. From the initial single architecture, the early development is simple and fast. With the increase of the system scale, the problems of independent upgrade and evolution caused by architecture coupling continue to enlarge. Architecture began to evolve towards microservices and gradually became the mainstream. Applications were split according to microservice granularity, interface standardization and environment standardization, and could be upgraded and released by day or week, which helped applications achieve rapid iteration. Service architecture brings convenience to developers, but it also brings complexity. Users still need to pay attention to server configuration, back-end service management and other operation and maintenance work, unable to enjoy the maximum convenience brought by cloud.

Serverless architecture is a further extension of microservice architecture. According to the common definition in the industry, serverless = FAAS (function as a service) + baas (backend as a service). Compared with microservice, FAAS reduces the granularity of resource scheduling to function. For stateless and short-term processing tasks, it further reduces the threshold of application development and shortens the application online cycle through functional programming. However, the current FAAS is usually not suitable for long-term tasks, big data processing and other work, and the communication delay between functions is low, which is called serverless 1.0 stage.

At the stage of serverless 2.0, it will greatly expand its application scope and support various application loads in the whole scene. Its typical features include: it can support long-running tasks; Built in data system can support stateful function and big data processing; The built-in communication system enables high-performance communication between functions through the bus.

Huawei cloud serverless function workflow functiongraph makes development focus on Application Innovation

In the process of research and practice of serverless technology, Huawei cloud proposes that: as the computing paradigm of the second half of cloud computing, serverless needs to solve the problems of general application development, seamless docking of original application systems, supporting heterogeneous hardware, and has a complete tool chain and cloud services, so that more developers can enjoy the dividends brought by serverless.

Huawei cloud serverless function workflow functiongraph is a function computing service with choreography ability, which provides interface management, one-stop function development online function, supports 6 kinds of languages and 10 + types of function trigger; It has rich trigger types and integrates a variety of cloud services through event triggering to meet the needs of different scenarios; According to the number of concurrent requests, the running function of resources is automatically scheduled to realize the flexibility of speed on demand; If the function running instance is abnormal, the system will start a new instance to process the subsequent request and realize second level fault self-healing.

Multi scenario application and practice based on Huawei cloud serverless

The IT resources of serverless architecture can be divided into the following categories according to the characteristics of demand elasticity

Type 1:Single purpose stateless class, typical applications are small program back-end, web back-end, tripartite service provider docking, etc. This kind of application using function programming can greatly simplify the development process and achieve hourly delivery.

Type 2:Event driven classes, such as real-time image processing, real-time data stream processing, IOT event processing, etc. This is the most typical application of serverless, which is characterized by event driven + computing glue layer. The logic of computing glue layer is realized by functions.

Type 3:Elastic scalable applications, such as video transcoding, live video, hot event push, etc., are characterized by the fact that the traffic size is usually unpredictable, and the infrastructure is required to be able to make the underlying resources insensitive and automatically shrink rapidly without affecting the processing of the business layer.

In the aspect of Huawei cloud serverless scene landing, it has fully realized the application practice in the mobile terminal. For example, during the epidemic period in 2020, Huawei has implemented the “real-time broadcast of new pneumonia epidemic” Application Based on serverless architecture, which greatly improves the agility of application development.

Another typical application scenario is about the practice of serverless in video processing. In this scenario, multiple AI special effects rendering functions need to be inserted into the same live video stream, and a large amount of data needs to be transferred between the functions. Under the existing function architecture, it needs to be read and written by external storage for many times, while the state built-in function technology is generally used, The access time of one read-write is reduced from 200ms to 5ms to meet the end-to-end service delay requirements.

In the outlook of cloud programming simplified released by Berkeley in 2019, it is proposed that serverless will become the next generation of default computing paradigm of cloud computing. For the application architecture of cloud computing, the serverless technology in the “no server” era will surely lead the next stage of cloud computing. Huawei cloud will also focus on customer value, concentrate on cloud native 2.0 serverless solutions, open the curtain and create unlimited possibilities!

Click follow to learn about Huawei’s new cloud technology for the first time~

Recommended Today

Programming Xiaobai must understand the network principle

How is the network composed? Why can we easily surf the Internet now?Whether you are a computer major or not, you may always have such questions in your heart!And today we will solve this matter and tell you the real answer! Basic composition of network First, let’s look at this sentence Connect all computers together […]