Font Size: a A A

Design And Implementation Of API Business Mid-End With FaaS Based On Cloud Platform

Posted on:2022-12-31Degree:MasterType:Thesis
Country:ChinaCandidate:L X ChenFull Text:PDF
GTID:2518306764977009Subject:Internet Technology
Abstract/Summary:PDF Full Text Request
Under the information age,there are more and more web services,which not only bring technical problems,but also bring difficulties to design and management.When facing new product development tasks,technical teams often choose to develop a new set of services to cope with every new product demand.However,this brings the problem of many similar functions being repeatedly developed,which wastes time and manpower and cannot adapt to the rapid expansion of the business.A solution to this problem is to build a business mid-end.In the business mid-end,the ability to reuse basic and public services is emphasized,and services are aggregated according to business types rather than products.When multiple products are involved in a certain business,using the business mid-end can directly provide services to multiple different products without the need for each product to implement itself,which can effectively reduce repeated development,and when a new product needs to go online quickly,the reuse capability of the business mid-end can also quickly support the new product features.This thesis implements a Faa S-based business mid-end in a cloud platform by means of service orchestration,which can better fulfill the requirement of reusing public infrastructure services in the business mid-end.The service orchestration capability is the core function of this thesis.This thesis first designs a simple and practical YAML orchestration script that can model most business processes.The orchestration consists of an orchestration core module and an execution engine.The former is responsible for parsing the orchestration script,using a centralized orchestration framework and a scheduling policy based on finite-state automanton that can correctly schedule various user-defined orchestration tasks and use message queues to communicate with the engine asynchronously.The execution engine is a side-car container that is combined with Faa S cloud functions and is responsible for making calls to the cloud functions,reducing the intrusiveness of the specific services.In order to better enable users to use the business mid-end for development work,the business mid-end in this thesis also provides log link tracking,monitoring and alerting,and automatic scaling features.In terms of logging,link tracking and log agent collection are implemented;in terms of monitoring and alarming,the collection and monitoring of service metrics,as well as the notification and processing of alarm events are implemented,and alarming and auto-scaling are combined to effectively utilize the advantages of the Faa S platform and enhance the performance of the business mid-end.Through experimental testing,the functions of this business mid-end meet the expected design goals,and the service orchestration efficiency is better than similar orchestration products.By combining service orchestration and Faa S cloud platform,the business mid-end can provide more flexible reuse capability and performance to support development teams.
Keywords/Search Tags:Cloud Computing, Business Mid-End, Service Orchestration, Function as a Service
PDF Full Text Request
Related items