| This thesis focuses on the design and implementation of a Serverless platform for private cloud environments.While Serverless services have gained widespread adoption in public cloud environments,there are few products that specifically cater to Serverless services in private cloud scenarios.Therefore,this thesis proposes and implements a Serverless platform based on technologies such as Docker,Kubernetes,Istio,Knative,KEDA,and Kafka,aimed at meeting the needs of laboratories and enterprises for Serverless services in private cloud environments.The thesis first introduces the research background and significance of the Serverless architecture,as well as the history and current state of Serverless services in China and abroad.The thesis then provides a detailed introduction to the key technologies and tools related to this platform,such as Docker,Kubernetes,Istio,Knative,KEDA,and Kafka.Based on the requirements analysis,the Serverless platform is divided into multiple modules,and the functionality and design of each module are elaborated in detail.According to the division of system modules,each module is implemented in a specific way.In terms of the core function of function invocation,the user-created functions are divided into synchronous and asynchronous functions.Knative is used to handle synchronous function calls,while KEDA is used to handle asynchronous function calls.Different scheduling algorithms are used for synchronous and asynchronous functions to improve platform performance and conserve computing resources.To verify the functionality and performance of the platform,functional and performance tests were conducted.Functional tests mainly involved the function management and monitoring capabilities of the platform,while performance tests primarily focused on the platform’s response time for function invocation and event triggering,as well as the load balancing of the cluster.The test results showed that the Serverless platform proposed in this thesis can meet the needs of users in terms of functionality and performance.In summary,this thesis proposes a design and implementation of a Serverless platform for private cloud environments,providing laboratories and enterprises with a flexible,efficient,and easy-to-use Serverless service solution. |