Abstract:Componentization can make the structure of the application system more clearly, simplify the development, deployment and upgrades of large-scale systems. However, the traditional methods of componentization have some drawbacks like high cost, poor system scalability,thewaste of resources and so on. In order to solve the above problems, an application framework based on microservice is realized to functionally decompose the application into a set of collaborating services. Using this framework, developers just need to focus on the business function development, and service registration, service discovery, access and monitoring is done by the framework. This framework can simplify the development; reduce costs and risks of code changes, testing, packaging and deployment; enhance capacity of dynamic need expansion; improve fault inside isolation.,enhance the fault tolerance of the system.