Search This Blog

Google Analytics

Monday, November 13, 2017

Microservices vs. SOA

Have been reading up on the differences between Microservices and Service-Oriented Architecture (SOA) lately. The below are the definitions of these 2 terminologies lifted from Wikipedia.

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 ARCHITECTUREMICROSERVICES ARCHITECTURE
Maximizes application service reusabilityFocused on decoupling
A systematic change requires modifying the monolithA systematic change is to create a new service
DevOps and Continuous Delivery are becoming popular, but are not mainstreamStrong focus on DevOps and Continuous Delivery
Focused on business functionality reuseMore 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 protocolsUses lightweight protocols such as HTTP, REST or Thrift APIs
Use of a common platform for all services deployed to itApplication Servers are not really used, it’s common to use cloud platforms 
Use of containers (such as Docker) is less popularContainers work very well with microservices
SOA services share the data storageEach microservice can have an independent data storage
Common governance and standardsRelaxed 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.

Popular Posts