Microservices
摘要
Cloud computing has promoted informationization, introducing new challenges to servers. Servers now face dual pressure of increasing data volume and client requests, with the issue of service quality becoming increasingly critical. In this situation, microservices become mainstream server architecture to address these challenges. This chapter explores strategies and methods for servers to achieve efficiency, security, resilience, scalability, as well as rapid development and deployment, rapid revision and upgrade, and fast startup, which are collectively referred to as microservice technologies. The involved knowledge includes: (1) high performance processing such as tree indexing, hash indexing, storage organization of data, thread pool and connection pool, and batch processing; (2) security technologies such as defense against SQL and HTML injection attacks, authentication of client and server to each other, and access privilege management and audit; (3) server scalability; (4) server cluster, (5) serverless.