App Architectures: SOA vs Microservices

  1. Fault tolerance: The failure of even one of an enterprise service bus (ESB) functionality can result in that particular service being blocked. Under SOA, ESB can be rendered a single point of failure which can take a toll on the entire app’s ability to function. Whereas with the microservices architecture, the services are independent in their functionality, thus making this architecture type more resistant to faults.
  2. Granularity: Any given architecture comprises a whole lot of different components — this means the granularity of each of these components can and does play a crucial role in the overall scheme of things. Anyway, the microservice architecture gets smaller components as compared to the ones you will find in SOA. However, it must also be noted that SOA may get bigger and have fewer components, but they do not fare too well when it comes to granularity.
  3. API layer: We will get straight to business: the service-oriented architecture is inclusive of the messaging middleware which, in turn, is tasked with the responsibility for the management of protocol transformation and routing among other things. The microservices architecture, on the other hand, comprises the API layer which is aimed at facilitating communication between the services and the users.

--

--

--

A professional and security-oriented programmer having more than 6 years of experience in designing, implementing, testing and supporting mobile apps developed.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Comparison of throughput between Amazon RDS and Google Cloud SQL

Quantum Gates in action on IBM Quantum Experience

Deploying CloudFormation resource type

Kafka Log Retention and Cleanup Policies

AWS Lambda Powertools: Idempotency, A Deeper Dive

Beginners’ guide to “Learn/Start Programming”

How to Close or Resolve ServiceNow Incidents Automatically

Blender tutorial: advanced modeling

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ryan Williamson

Ryan Williamson

A professional and security-oriented programmer having more than 6 years of experience in designing, implementing, testing and supporting mobile apps developed.

More from Medium

Microservice

scaling nodejs based micro services

scaling-microservices

OAuth2.0 and OpenID

Executive Summary — OAuth 2.1