编程知识 cdmana.com

Alibaba cloud serverless is upgraded again to open the gap from experience

 The first figure .jpg

The gap is in the details .

 Serverless To achieve the next Cloud Computing 10 year , It's not just about continuous technical progress , It also needs intensive cultivation in product experience .  In recent days, , Alibaba cloud Serverless Upgrade again , Launched a series of optimizations around the product experience , Including function calculation FC Fully integrated into the container Ecology , Add trigger for container image ; Announced the first open source in China Serverless Developer Platform Serverless Devs, Help developers realize one click experience of multi cloud products , Rapid deployment Serverless project ;SAE Provides QPS/RT Flexible strategy configuration of dimensions , Added current limiting and degradation and other enterprise features , Strengthen the whole life cycle management of application ;Serverless Event bus EventBridge Blockbuster released , With standardized CloudEvents 1.0 Protocols help users build loose coupling easily 、 Distributed event driven architecture .

Function calculation FC + Container technology ,1 + 1 > 2

There are barriers to experience ?

The advantages of functional computing are obvious , It takes a lot of complexity for developers to scale up 、 Operation and maintenance 、 Capacity planning 、 Cloud product integration and other responsibilities , Enables developers to focus on business logic 、 Speed up delivery (Time-to-market) , Continuously optimize costs . However, there are still many challenges in moving from traditional applications to functional computing , For example, the operating environment is not uniform 、 The cost of application construction learning is high 、 Code package service restrictions 、 There is a lack of version management for the delivery 、 Lack of popular open source tools ( Such as CI/CD Assembly line ) Support and integration, etc .

The solution is on the container !

The ecological sediment of the container is very rich and mature , It has been widely accepted and used , And application containerization has become the de facto standard for development and deployment . New version of function calculation FC Support container image as function delivery , Make container excellent development 、 Deploy 、 ecology ( Before going online ) And function computation itself is free of operation and maintenance 、 Zero idle cost 、 Cloud service integration and other features ( After the launch ) Combining the characteristics of , Fully upgrade the developer experience :

1.png

Simplify the application Serverless turn : There is no need to modify the code or recompile the binary 、 Shared objects (*.so), Local debugging , Keep development consistent with online environment

Larger function code limits : Maximum support for image before decompression 1 GB( Compared with the code package before maximum decompression 50MB), Avoid separation of code and dependencies , Simplify distribution and deployment ;

Container image layered cache : Incremental code upload and pull , Improve development efficiency and reduce cold start delay ;

Mirror sharing 、 Reuse : Logic can be transplanted 、 There is less duplication of development .

Mixed deployment : The same application Serverfull (ECS, Containers ACK)、Serverless (FC,ASK,SAE), Mixed deployment of different applications or streaming between different services of the same application , Achieve consistent performance 、 Rigid delivery of resources 、 The rapid increase 、 The balance of operation and maintenance minimization .

CI/CD: Continuous construction 、 Integration testing 、 Code upload 、 Storage and Standard Version Management , Rich open source Ecology CI/CD Tools can be reused .

Serverless Devs, Explain Serverless The difficulty of tool chain

Serverless It's not just a commercial product that can solve the problem , It needs a whole tool chain , because Serverless It involves the creation of applications 、 Project development 、 test , And release and deployment , It is the whole life cycle management of the whole development and operation and maintenance project .

Serverless Devs It is a component and plug-in Serverless Developer Platform , To be more open 、 A more standard way to solve Serverless The chain of tools .

  • Lower learning costs : Developers don't have to deal with every model on the market Serverless Tools for research and learning , Just pass Serverless Devs , It can be simple 、 shortcut " Get started " Main stream Serverless Services and frameworks .
  • Development 、 Deployment is more intuitive :Serverless Devs Provides App Store , Developers can quickly retrieve the required application cases or components through keywords , And through visual editing to complete the project configuration , Project deployment can be completed by clicking the mouse , The overall deployment time has been shortened by nearly 1 times .
  • More flexible use :Serverless Devs When describing a project, you can not only calculate functions 、API gateway 、 Object storage and other resources , It can also be done through Serverless Devs Provided plug-ins and Hook Conduct Install、Build、Publish And so on . meanwhile Serverless Devs There are no restrictions on the commands for each component , Instead, developers are encouraged to target different components , Develop different capabilities to cope with more 、 More complex scenarios , This flexible and open way to use , bring Serverless The development and operation and maintenance efficiency of the project is improved 90%.

SAE——Serverless The shortest path to the application of core production

if , Function calculation is an innovative business or offline scenario with high computing power consumption , Provides a more efficient implementation path ; that ,SAE (Serverless App Engine) For core production applications Serverless turn , Provides a shortest landing path .

Take the microservice scenario as an example ,SAE Provides application development 、 Application deployment 、 Application management 、 Monitoring management and log management and other application life cycle management .

Migration is smooth , No operation and maintenance : It doesn't involve any code and business logic changes , Will be able to Spring Cloud / Dubbo Micro service applications or Spring Boot The application is deployed to SAE On . At the same time, it blocks IaaS、K8s Details of the ground floor , Solve the pain points of microservice architecture and container service operation and maintenance complexity , Have 0 The threshold +0 reform +0 Absolute advantages of container Foundation , So as to save labor cost , Focus on the business itself .

Enterprise level features are rich , Stable business :SAE Provides out of the box microservice governance 、 The ability to apply monitoring , built-in ARMS Basic Edition capabilities , It provides a good support for end-to-end application monitoring and location diagnosis , Save a lot of trouble shooting time .SAE built-in AHAS, It greatly enhances the stability and reliability of microservice system in the face of business peak .

Save and limit resources ,Serverless once :SAE Provide the flexibility of timing and monitoring indicators (CPU、Memory、QPS and RT etc. ), It can be expanded in seconds , It ensures the high availability of the whole system cluster to the maximum extent , It can reduce the waste of limited resources , besides ,SAE The unique one button start stop function can also save the cost of development and test environment .

2.png

EventBridge—— Standard configuration under event driven architecture

This is the leading product concept

2019 year 7 month ,AWS Introduction EventBridge, It is praised as self Lambda The most important product since , Now it has become the standard configuration under the event driven architecture . And event driven architecture has been Gartner As a 10 One of the big strategic technology trends , It will become the mainstream of microservices in the future .

This release of Alibaba cloud Serverless Event bus EventBridge It is to solve the pain point of the current event processing :

  • Cloud products need to write multiple events redundantly or obtain data from multiple event sources : We use it EventBridge To build a cloud product event center .
  • There is no uniform event standard , Event protocols between cloud services are not compatible : We use standardized CloudEvents 1.0 agreement , To build event driven architecture .
  • Repeated construction of event capability among cloud services , Can't expand , Events are independent , We can't get the scale effect : We use EventBridge To open up industry partners and third parties SaaS Service provider , Standardized access for upstream and downstream events .

The polishing of details is not overnight , Experience improvement can't be done behind closed doors .Serverless Devs The open source ,Serverless The richness of products and tools , It means that we will continue to improve in a more open way Serverless A comprehensive experience of Ecology .

We invite you to join us Serverless Technology developer exchange group ( Nailing group no. :33947367),Let's Serverless!**

Alibaba cloud's first show Serverless The developer offline salon appears in Beijing

This offline activity will invite people from aliyun 、 TaoBao 、 Idle fish 、 Baifu travel, etc Serverless technician , Bring... To developers :

  • TaoBao / Tmall has to deal with double 11 How to carry out large-scale flood peak Serverless.
  • Hit the developer pain point , Talk about the idle fish 、 Baifu travel and other Chinese enterprises Serverless Landing and “ Step on the pit ” Experience .
  • The latest open source tool chain of Alibaba cloud is disclosed for the first time Serverless Devs Design details and future directions .

There will be fun Serverless The lab opened for the first time , Click sign up , With the big tech guys Serverless, Make innovation easier .

Serverless official account , Release Serverless The latest technology information , Assemble Serverless The most complete content of Technology , Focus on Serverless trend , Pay more attention to the puzzles and problems encountered in your landing practice .

版权声明
本文为[Alibaba cloud native]所创,转载请带上原文链接,感谢

Scroll to Top