Font Size: a A A

The Design And Implementation Of A API Gateway Based On Enterprise Service Bus

Posted on:2019-05-21Degree:MasterType:Thesis
Country:ChinaCandidate:X HanFull Text:PDF
GTID:2428330590475659Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the continuous development of Internet technology,the software development model has evolved from machine-oriented,process-oriented,objectoriented,component-oriented mode to service-oriented.The ever-changing business needs,service-oriented architectures based on messages for service interactions are costly,centralized,and difficult to maintain.The microservices architecture is decentralized,highly autonomous,and automated,enabling enterprise software development at a lower cost.As the only entry point in the microservices architecture system,the API gateway not only supports the interaction between different services,but also ensures the security of the backend microservices.This thesis designs and implements an API gateway based on the adaptability of enterprise service bus to multiple protocols.The system mainly solves the following problems:1)API gateway as the entrance of many back-end services,is a major "performance bottleneck" in the micro-service architecture system.This topic uses the multi-Reactor model of the Netty framework to implement the request access module,and combines user activity to differentiate policy filtering.Useless idle connections reduce CPU usage and improve support for high concurrent requests.2)By analyzing the style characteristics of WebService by different protocols,based on the enterprise service bus design message structure,the API gateway adapts to different protocols,and provides a protocol extension base framework for users to extend other protocols,further enhancing the openness.ability.3)Processing the message based on the responsibility chain design mode,enhancing the flexibility of the API gateway for message processing,facilitating the newly added request processing class,providing authentication,flow control and other strategies to ensure the security of the gateway and provide data mapping.The policy implements data exchange between different protocol styles at the front and back of the gateway.The API Gateway not only can manage the business system API,realize internal system integration,but also open up the enterprise's own service capabilities,and share services,capabilities,and data with partners to deepen the cooperative relationship.At present,the API bus based on the enterprise service bus has been put into use in the company's multiple businesses and multiple sites,supporting hundreds of millions of API request calls every day.
Keywords/Search Tags:API Gateway, Enterprise Service Bus, Micro Service Architecture, Netty
PDF Full Text Request
Related items