A service-oriented architecture (SOA) is a style of software design where services are provided to the other components by application components, through a communication protocol over a network. The basic principles of service-oriented architecture are independent of vendors, products and technologies. A service is a discrete unit of functionality that can be accessed remotely and acted upon and updated independently, such as retrieving a credit card statement online.
Microservices is a variant of the service-oriented architecture (SOA) architectural style that structures an application as a collection of loosely coupled services. In a microservices architecture, services should be fine-grained and the protocols should be lightweight.
My Internet browsing pattern got pick up by Google Now and was an article was proposed as a possible to-read article.
SERVICE-ORIENTED ARCHITECTURE | MICROSERVICES ARCHITECTURE |
---|---|
Maximizes application service reusability | Focused on decoupling |
A systematic change requires modifying the monolith | A systematic change is to create a new service |
DevOps and Continuous Delivery are becoming popular, but are not mainstream | Strong focus on DevOps and Continuous Delivery |
Focused on business functionality reuse | More importance on the concept of “bounded context” |
For communication it uses Enterprise Service Bus (ESB) | For communication uses less elaborate and simple messaging systems |
Supports multiple message protocols | Uses lightweight protocols such as HTTP, REST or Thrift APIs |
Use of a common platform for all services deployed to it | Application Servers are not really used, it’s common to use cloud platforms |
Use of containers (such as Docker) is less popular | Containers work very well with microservices |
SOA services share the data storage | Each microservice can have an independent data storage |
Common governance and standards | Relaxed governance, with greater focus on teams collaboration and freedom of choice |
» Microservices vs. SOA – Is There Any Difference at All? | DZone
No comments:
Post a Comment
Do provide your constructive comment. I appreciate that.