What is micro-services? What is the difference with the micro-distributed service is?

Simply put, the micro-architecture design service is the way, is a distributed system deployment, two different concepts

mark

mark

Micro service is what?

Here does not refer to the Introduction to the complex on the books, in short, micro-services is very small service, as small as a service corresponds to only a single function, only one thing. This service can be deployed alone run, can interact with each other through the RPC service between each micro services are developed by small independent team, testing, deployment, on-line, is responsible for its entire life cycle.

Micro-service architecture is what?

After making architecture design time, do first logical architecture, physical architecture to do, when you get the demand, over-estimate the amount and the maximum amount of concurrent users, a single application server can meet the computing needs of users if only a few hundred people small applications, single application will be able to get that all applications deployed on an application server, if a large number of users, and some features are accessed frequently, or a large amount of calculation of certain functions, it is recommended to use split solution for multiple subsystems, each responsible for their function, which is micro-services architecture.

mark


So what is distributed?

As the name suggests the service is distributed services dispersed deployed on different machines, a service may be responsible for several functions, it is a SOA-oriented architecture, but also to interact or interact through rpc webservice between services. Logical architecture design should have done after the physical architecture design, system application deployment on more than one server or virtual machine, and each separate part of the deployment of interactive information through a variety of communication protocols, distributed deployment can be counted as one another, the production environment micro services under must be distributed deployment, application deployment is not necessarily distributed micro-services architecture, such as cluster deployment, it is copied to the same application on different servers, but the logic function or a single application.

Micro service compared to distributed services, its smaller size, lower degree of coupling between services, because the services are independent of each micro small team responsible for it agility higher, will be distributed to the last service micro-service architecture evolution, this is a trend, but challenges after serving micro service brings is obvious, such as service granularity small number of large, late operation and maintenance will be difficult.

Guess you like

Origin www.cnblogs.com/MPengYu/p/12617109.html