1.面向服务的体系结构(SOA):
这是大量的服务,其中服务彼此通信。该框架用于使用软件架构设计软件系统,该软件架构将所有组件视为服务。该通信由SOA提供,通常用于传递数据,它可以通信两个或多个服务并完成一些活动。
它提供了各种微服务,其函数如下:
1. Loosely coupled
2. Reusable
3. Composable
4. Autonomic
5. Standardized
2.微服务架构(MSA):
它需要大量服务,并分解为小型服务或可共享组件。它也称为整体,其中所有功能都放在一个流程中。此方法用于开发应用程序和使用不同方法进行通信,这些方法可能用不同的编程语言和数据存储编写。
这是MSA的一些特色功能–
1. Business capabilities
2. Products
3. Smart End Point
4. Automation
5. Evolutionary
SOA和MSA之间的区别:
SOA. | MSA. |
---|---|
It is a huge collection of services in which services communicate with each other. | It is general architecture that takes large number of services and break down into small services or shareable component. |
It works on Share-as-much-as-possible approach. | It works on Share-little-as-promise approach. |
It is used to share the data storage. | It has independent data storage. |
It supports various multiple protocol. | It supports HTTP/REST lightweight protocol. |
In service oriented architecture, there is a multi-threaded with more handle I/O. | In Micro service Architecture, there is single-threaded with non-locking I/O handle. |
It has common platform for all services. | It has platform like Nodejs is used and application server not used. |
It uses of container is less popular Docker linux. | Its container work very well. |
It uses traditional database. | It uses non-relational database. |
It uses ESB services for communication. | It does not use ESB services.It has a simple messaging system. |
It have common governance standard. | Relaxed governance with more focus on people. |