springcolud learning (a) micro architecture service description

What is a micro-service
micro-service aircraft evolved from the SOA architecture over, will be more than fine granularity of SOA architecture, professional people to do professional things (focus), the purpose of improving the efficiency of each service independently of each other between services, micro-service architecture, each service must be deployed independently, independently of each other, micro-services architecture reflect more light, lightweight, suitable for Internet companies agile development.
Micro-service architecture features

micro-service architecture advocated application design process more independent, configurable, and can run sub-service micro services.
Service and service protocol using Http protocol, using a form of restful style API to communicate, lightweight data interchange format json format communication, the transmission process, binary, so the http protocol can cross-language platform, and can be different and other language to communicate with each other, so a lot of open platforms using http protocol interface.

Micro Services Architecture how to split
1. Micro service responsibilities to each single function stored in a separate service
for each service to run in a separate process 2.
3. Each service has its own independent database storage, in fact, have their own independent resource caching, databases, message queues, and so on.

SOA service architecture and micro-architectural differences
1. Micro service framework of evolution based on SOA, the SOA advantages inherited removed SOA architecture ESB service message bus in the micro-architecture, using http + json (restful) for transmission.
2. Micro Services Architecture SOA architecture will be more than fine granularity, professional people to do professional things (focus), the purpose of improving the efficiency of each service independently of each other between services, micro-service architecture, each service must independent deployment, micro-service architecture more compact and lightweight.
May occur shared 3.SOA database storage architecture, micro-services database services are stressed every single individual, to ensure that each service independently of each other between services.
4. The project reflects the characteristics of micro Services Architecture SOA architecture is more suitable than the Internet company agile, fast iterative version, because the particle size is very fine.

Guess you like

Origin www.cnblogs.com/xiaohouye/p/11163223.html