1. What is micro-services
And there is no uniform concept, business is generally divided, the traditional one-stop applications, split into one service, complete decoupling, a micro-business service is a single function, only one thing.
2, micro-services and micro Services Architecture
Micro-service architecture is an architectural model or style, advocating a single application into a set of smaller independent service deployment, coordination between services, mutual coordination, each service runs in its own process
3, the advantages and disadvantages of micro-services
advantage:
(1), each service cohesive enough, small enough, relatively easy to focus
(2), the development of simple and efficient, a service only one thing
(3), the development team is small, but requires a high level of technical personnel
(4), micro-services are loosely coupled, either development or deployment can be completed independently
(5), micro-services can be developed in different languages
(6), and third-party integration easy, micro service allows easy integration and flexible automatic deployment
(7), micro-services easy to understand, modify and maintain developer
(8), micro service allows integration of the latest technology
(9), the micro-service business logic code is not fused to HTML, CSS, or other interface components
Disadvantages:
(1), the developer wants to deal with the complexity of distributed systems
(2), multi-service operation and maintenance difficulty, with the increase in service, operation and maintenance of the pressure will increase
(3), dependent on system deployment
(4) the cost of inter-service communication
(5), data consistency
(6), System Integration Testing
Difficulty (7), performance monitoring