编程知识 cdmana.com

They are all talking about "serverless first", but do you really understand serverless?

{"type":"doc","content":[{"type":"heading","attrs":{"align":null,"level":1}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"2012 year ,Iron.io The company proposed a project called “Serverless” The concept of , I think the future software and applications should be server free ;2019 year , Berkeley published a paper "},{"type":"link","attrs":{"href":"https:\/\/www2.eecs.berkeley.edu\/Pubs\/TechRpts\/2019\/EECS-2019-3.html","title":"xxx","type":null},"content":[{"type":"text","text":"《A Berkeley View on Serverless Computing,2019 FEB》"}]},{"type":"text","text":", Make a forecast for the next ten years of Cloud Computing , Think Serverless Is the master of the cloud age ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" And today , People are not just talking about Serverless , It is “Serverless First” —— in other words , The topic of discussion starts from “ Do you want to use it ”, Turned into “ How to use it? ”. Is it a publicity stunt for cloud manufacturers , Exclusive solutions for front-end developers , Or will it really change the whole R & D situation ?"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" We should earnestly answer this question , Let's take a closer look at Serverless Misunderstandings faced 、 Challenges and opportunities . meanwhile , We also contacted for "},{"type":"link","attrs":{"href":"https:\/\/developer.huawei.com\/consumer\/cn\/agconnect","title":"xxx","type":null},"content":[{"type":"text","text":" Huawei application market AppGallery Connect"}]},{"type":"text","text":" stay Serverless First hand practical information in the field , Hope to inspire you ."}]},{"type":"heading","attrs":{"align":null,"level":4},"content":[{"type":"text","text":"Serverless Micro service , It's not a replacement relationship "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/mp.weixin.qq.com\/s?__biz=MzUxMzcxMzE5Ng==&mid=2247495541&idx=3&sn=545455cc6f04d6ec95d58cdbb48784d1&chksm=f9525a36ce25d32077935e05d0b231f581d055ad1885a093c63c0d11e6b3e1fb7ef4f2a6dba5&scene=27#wechat_redirect","title":"xxx","type":null},"content":[{"type":"text","text":"Serverless"}]},{"type":"text","text":" = FaaS( Functions are services ) + BaaS( Back end as a service ), This is currently the most accepted Serverless Definition .Serverless And micro Services , But few people can make it clear , Even many people think :Serverless And microservices are replacement relationships , Only one... Can be chosen ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" However Serverless And microservices in different scenarios , In fact, each has its own advantages . In huawei AppGallery Connect Serverless For example ,Serverless Is characterized by :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"numberedlist","attrs":{"start":1,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":" The cost is low , Developers only pay for the resources they actually use , No need to pay for free resources , Significantly reduce operation and maintenance and use costs ;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":" No operation and maintenance , Developers don't need to pay attention to the operation and maintenance of back-end services , The complex operation and maintenance actions in the era of traditional cloud services such as automatic elastic scaling are made by Serverless The service completes automatically ;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":" Go online quickly , stay Serverless Architecture , Development of function granularity \/ Deployment unit , And the operation mechanism triggered by events , It can greatly simplify the code logic , Improve the online speed of business ;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":4,"align":null,"origin":null},"content":[{"type":"text","text":" Cross platform ,AGC The platform also provides cross platform support for services , Help developers realize user interoperability on different platforms , Further improve development efficiency ."}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" therefore , In real time computing 、 Parallel task processing 、 Edge computing and other computing intensive scenes ,Serverless Often more appropriate . Microservices are characterized by simple services 、 Flexible expansion 、 Easy to maintain 、 Independent evolution 、 Hybrid development 、 Continuous delivery , It is more suitable for large and complex business systems ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" however , Microservice architecture is a test of the technical ability of the R & D team , Only the particle size Division , It has become a hot topic in various technical conferences . If you look at the whole architecture level , In frame selection 、 Service governance 、 The challenges of elasticity and other aspects will be greater , The team needs to have very rich service experience ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" actually , At present, the most novel service model is Serverless Microservices . Compared with traditional micro Service Architecture ,Serverless Microservices have two characteristics :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"numberedlist","attrs":{"start":1,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":" Apply fully managed capabilities :Serverless Microservices provide packaging from microservice code 、 Deploy 、 monitor 、 Call chain 、 Service governance 、 Stretch and stretch 、 Full lifecycle management capability of version upgrade rollback ."}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":" Charging mode based on service running time : According to the usage of business microservices CPU Resource usage and memory resource usage , When there is no idle period of access request , The microservice running instance automatically shrinks to 1 perhaps 0 , Save resource usage , Save on resource costs , Optimize resources ."}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Overall , We can argue that Serverless Microservices = CI\/CD Assembly line + Microservice framework ( Including registry and micro service governance framework )+ Kubernetes\/ Containers + Cloud operation and maintenance ( Including call chain 、 journal 、 The alarm 、 Performance monitoring, etc ) + Elastic scaling Services + Traffic management services ."}]},{"type":"heading","attrs":{"align":null,"level":4},"content":[{"type":"text","text":"Serverless Landing key : You can't do it all at once "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" If Serverless The micro service is so good , Within each team , Should we push the landing immediately Serverless Microservices ? Through the application market of Huawei AppGallery Connect Serverless A case study of , We came to the conclusion that , Pay attention to and plan carefully , But not one size fits all ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" First, let's briefly introduce the case background . Huawei application market AppGallery Connect The platform is dedicated to the creativity of applications 、 Development 、 distribution 、 operating 、 Analyze all links and provide full life cycle services , Improve application development and operation efficiency , Accelerate application innovation and business success .AppGallery Connect Deeply integrate various high-quality services within Huawei , Huawei will be in technology research and development 、 Global operations 、 quality 、 Security 、 The long-term accumulated ability in engineering management and other fields is open to developers , Greatly reduce the difficulty of application development and operation and maintenance , Improve application quality , Open distribution and operational services . The architecture is as follows :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/c8\/45\/c8c5bcd9f17c7db1eac49a7eaf70fc45.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" It uses Serverless Is the base , Through the span end SDK(AppGallery Connect Kit)、AppGallery Connect Portal and RESTful API Provide application ideas to mobile developers 、 Development 、 distribution 、 Full life cycle services related to operation and Analysis ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"AppGallery Connect Serverless The solution focuses more on solving the efficiency problem of mobile application R & D , It has the following technical features :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"numberedlist","attrs":{"start":1,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":" Data security : Cloud database adopts the original end cloud full dense encryption technology , Realize the collaborative encryption of end side and cloud side data , Backup the key encrypted based on the user password to the cloud , Fully protect user data security ;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":" High performance : The cold start of the function is in the transmission of the code 、 Loading and other aspects have been greatly optimized , Use resource pooling 、 Code cache 、 Call chain prediction and other technologies , Without changing the operating system, the minimum cold start delay of the function can reach 10~20ms; Cloud database is optimized through the network 、 Protocol optimization, etc , The end cloud data synchronization is realized < 120 millisecond ( The industry usually 200 millisecond +);"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":" Stretch and stretch : structure Serverless Cloud database CloudDB, Solve the problem of end cloud data synchronization 、 Multi terminal data synchronization , And the storage of massive data . Compared with traditional database services , The end-to-side database service provides client and cloud services 、 Real time data synchronization mechanism between clients , Mobile end offline availability and other mobile end oriented features . The underlying database engine adopts the distributed architecture of separation of storage and computing , It can automatically expand the storage capacity or compute nodes according to the needs of the mobile terminal , Shield developers from problems such as database and table expansion and migration ;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":4,"align":null,"origin":null},"content":[{"type":"text","text":" Save labor costs :AGC Cloud hosting eliminates the need for developer application websites CDN、 Domain name management 、SSL Certificate management, etc , And built-in Global CDN Acceleration and global domain name management services , Save the developer's operation and maintenance manpower and cost ."}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" at present AppGallery Connect Serverless The solution has been used in Huawei AppGallery Connect APP、 Huawei fast application 、 Translation services 、 It is used in many projects such as market intermodal activity seckill system , Compared with the previous microservice Architecture , R & D efficiency has been greatly improved ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Huawei application market AppGallery Connect Serverless Support for translation services as an example , According to the InfoQ understand , The development team uses Serverless Cloud functions + Cloud storage + Cloud database service , Efficiently build translation services with high availability and capacity expansion on demand , Compared with the traditional architecture pattern , Manpower reduction 45%, Shorten the R & D cycle 50%."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" In terms of division of labor ,Serverless The scheme is also different from the traditional organization . The architect is mainly responsible for the overall architecture design 、 Domain model design 、 Data model design 、 Function partition . The role of R & D Engineer will be divided into two categories , One is function development , One is business online ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" The engineer responsible for function development is responsible for function development 、 unit testing 、 Debugging test ; Engineer in charge of business launch , Responsibilities are quite Serverless features , You need to activate cloud functions by yourself 、 Cloud storage 、 Cloud database and other services , In addition, you need to be responsible for uploading functions 、 Release , And setting triggers ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Trigger is the core of event driven programming based on cloud function . This project involves HTTP、CloudDB( Cloud database )、CloudStorage( Cloud storage ) Wait for multiple triggers , It needs to adapt to serial communication API Call programming engineers to make changes in thinking and habits , Get started quickly with asynchronous programming based on event triggering . A comparison chart vividly illustrates the difference between the two programming thinking models :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/b5\/5d\/b58c1441d36e8556fa967a861aa2265d.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" There is no denying that , Due to the high familiarity with microservice Architecture , Yes Serverless Relatively low familiarity with architecture , Extension Serverless Landing may also face some organizational resistance . For the leader , The key to landing is that technology cannot be applied across the board , Not to use Serverless While using . The leader needs to be familiar with the business process and technical pain points , combination Serverless Adapt and promote the advantages of ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"AGC The technical architecture diagram of the final implementation of translation service is as follows :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/wechat\/images\/d3\/d39c4792f32ddfc06761e500e9358fa3.png","alt":null,"title":null,"style":null,"href":null,"fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":4},"content":[{"type":"text","text":" to ground Serverless Technical barriers to : Stateless function 、 Time limited billing 、 Cold start time "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Said so much Serverless The advantages of , but Serverless There are still some problems with the architecture , We only list the three most important questions for your reference , Be determined “Serverless First” Before , Or should we have a clear understanding of this ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":" The first is the problem of stateless functions ."},{"type":"text","text":" For better horizontal expansion and fault recovery , Cloud functions are stateless , Does not provide caching capability . But as soon as we practice, we find that , Although the cloud function is stateless , But business processes are usually stateful . The general solution can only be , The engineer operates an external storage to save the State , And make a read-write lock ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This leads to the complexity of the whole development work , And naturally, it is not suitable for low delay scenarios ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" But this problem is also being solved . It is also the Huawei application market mentioned earlier AppGallery Connect Serverless For example ,InfoQ come to know , Huawei AGC We are developing stateful function programming model and multi function access concurrency consistency model , Resolve deadlock and inconsistent state caused by concurrent access to state data 、 Efficient reading and writing of status data . There is a simple sign for you to understand :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/fa\/0f\/faa6552ec3b93cfyy08f17d7432b700f.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":" The second type is run-time constraints ."},{"type":"text","text":"Serverless It is billed according to the length of use , The running function instance will be destroyed , So there is usually a run-time limit , Avoid waiting for synchronization 、 Business congestion and other problems , This causes the cloud function to be suspended for a long time and consumes resources . This has an impact on some strongly state dependent services ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Although cloud vendors generally allow developers to adjust the default runtime of cloud functions , But it still can't completely solve this problem ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" If you want to cure the root cause , Developers should try to avoid the scenario of making functions wait for a long time to obtain state data , One possible solution is : You can use stateful functions , Try not to put the status data outside the third-party system , For example, through REST The interface obtains status data from three parties . Because once the state data depends on a third-party system , Time delay 、 Performance and other indicators are difficult to be guaranteed . On the other hand , Through new technical means such as dynamic pricing , To reduce the cost of running functions for a long time , Gradually configure the running time as required , It is also a technology exploration direction in the future ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":" The third kind is the cold start problem of cloud function ."},{"type":"text","text":" If the function is resident in memory , Will lead to waste of resources , Increase cost . If you cold start every call , It takes about 200 Millisecond or so ( The data of different programming languages are quite different , This data is for reference only ), It is unacceptable for some delay sensitive services . How to solve the function cold start problem , It's a huge technical challenge , It is also a difficult problem that cloud functions must overcome ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" In turn to see , Cold start problem for Serverless for , It's a challenge , It's also an opportunity . Once the cold start speed of cloud function is accelerated ,Serverless The field of application of will be greatly expanded , Revolutionize the mainstream business architecture .AppGallery Connect Serverless Cold start optimization by function 、 Intelligent function scheduling strategy , Fast traffic sensing and fast instance startup are used to continuously improve the startup and scaling efficiency of functions ."}]},{"type":"heading","attrs":{"align":null,"level":4},"content":[{"type":"text","text":" middleware 、 Modeling 、 Low code , yes Serverless The advanced direction of "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Of course , In addition to the cold start problem of cloud functions , middleware 、 Modeling 、 Low code , It's also Serverless The next stage compares the development and evolution direction of the core ."}]},{"type":"heading","attrs":{"align":null,"level":5},"content":[{"type":"text","text":" middleware "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" future Serverless An important trend of development is , There will be more and more middleware Serverless turn . Traditionally, we use "},{"type":"link","attrs":{"href":"https:\/\/xie.infoq.cn\/article\/b9bbc3302c40d6decbbdd3c1f","title":"xxx","type":null},"content":[{"type":"text","text":"SpringMVC"}]},{"type":"text","text":"、"},{"type":"link","attrs":{"href":"https:\/\/xie.infoq.cn\/article\/351a9c3b25d4f4209451e7f80","title":"xxx","type":null},"content":[{"type":"text","text":"SpringCloud"}]},{"type":"text","text":" Or the business developed by the microservice framework , If you use all functions to override , The cost would be very high ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" But if there is one Serverless Microservices , Just a few minor adaptations , You can use the existing business code directly Serverless turn , enjoy Serverless Free operation and maintenance 、 Elastic expansion and other capabilities , Then any architect will start to think carefully , Migrate from existing architecture to Serverless The feasibility of the architecture ."}]},{"type":"heading","attrs":{"align":null,"level":5},"content":[{"type":"text","text":" Modeling "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" When business depends on Serverless When there are few services , You can also follow the development and deployment rules of the service , Through the management console or command line of the service CLI Tools to deploy ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" But for more complex businesses , Involving the simultaneous use of multiple Serverless service , If there is no unified application description and deployment tool , Then the cost of each deployment and upgrade will be high ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" If you can Serverless Modeling 、 Normalization , Automatically open all dependent services , Achieve one click automated deployment , It will save R & D students a lot of energy ."}]},{"type":"heading","attrs":{"align":null,"level":5},"content":[{"type":"text","text":" Low code platform "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" With the acceleration of enterprise digital transformation , The delivery efficiency of traditional software development model can not meet the business needs , The digital construction of enterprises lags behind the business needs , There is an urgent need to improve development efficiency , Low code platform has gradually become a technical hotspot ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Using a low code platform , By graphing 、 Drag and drop 、 Configuration and scripting can complete the construction of the application , Compared to the traditional development model , The difficulty and cost of development have decreased significantly ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" because Serverless Born free of charge 、 High availability 、 Elastic expansion and other characteristics , be based on Serverless Building a low code platform will further reduce the amount of code developers 、 Development cost and operation and maintenance workload after going online , Really realize the low code of the whole application life cycle \/ Low workload ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" therefore ,Serverless Low code platforms will be the future Serverless An important direction of evolution , It was revealed that , Huawei application market AppGalley Connect The next generation of Serverless The core of the solution is the low code platform , To solve the problems of application development and operation and maintenance efficiency , The architecture example is as follows :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/wechat\/images\/8e\/8e611fdff83b50df2d6c9d223b3bda4b.png","alt":null,"title":null,"style":null,"href":null,"fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" See here , You might think , It's a stateful function again , Cold start optimization again , Huawei's application market investment Serverless Where does your enthusiasm come from ? We know , Huawei's consumer business continues to adhere to “1+8+N” Full scene Smart Life strategy , The whole life experience creates a smart scene for consumers ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" For Huawei's application market AGC for , Namely “ Load the driving force of innovation ”, Help millions of application developers accelerate application innovation , Work together to create a better digital life experience for users around the world , It is a commitment to Huawei's consumer business strategy . I understand that , See Huawei's strong investment in the application market Serverless You won't be overly surprised ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" in any case , For developers , This is a beautiful time . Believe whether it is Serverless First strategic , Or more scenes in the future Serverless application , Will bring more architectural choices to developers . Increasing application delivery efficiency , It will be a certain time in the future , The main melody of the evolution of relevant platforms and tools ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/10/20211002145414410n.html

Scroll to Top