Evolution Of Microservices

Evolution

Application Architecture for smaller enterprises

Fig 1. Typical Monolith
  1. All the devices are interconnected.
  2. During built out everyone is waiting on each other.
  3. If one component is down might cause an issue for other components(TV has issue will make DVD Player,VCR useless)
  4. The repair of TV might have to take the entire unit to repair station.
  5. After repair you have to verify all the devices-testing
  6. You might need to contact multiple technicians for each component.

Typical Multi-tier Monolith

  1. Low Cohesion- All the components are tightly coupled.
  2. Every module developer as well as developer at each tier is waiting on each other.
  3. Reliability- If one component is down the whole system will collapse.
  4. Low maintainability -Upgrade or issue in one module will bring down the whole application
  5. Cross-cutting concerns like server startup time, difficult to test
  6. You have an army of people in your agile team from the different module in each tier
  1. Easier deployment
  2. No need to worry about newer architectural patterns
  3. No brainer scaling
  4. Easy to manage

Here comes Service Oriented Architecture(SOA)

That’s why Microservices Architecture(MSA)

What is Microservices in terms of our Combo TV options?

  1. All the devices are separate.
  2. No one is waiting on each other.
  3. If one component is down the rest of the components are working
  4. After repair of one device, you verify only that device

Online marketplace design using MicroServices Architecture(MSA)

  • No vendor locking like in SOA
  • Diversity in terms of not marrying with any technology
  • True agility since very small functional or infrastructure services
  • Get the best fit for the job to get it done
  • High Cohesion since the separation of responsibility
  • Complexity, since each service on its own, became self contained, it raises a lot of concerns related to the handling of data across services, API gateway, Security, aggregation of logs at one place, reporting for datawarehouse, inter-service communication.
  • Security Concern, now that everything is scattered around you might have to take care of security concern
  • Cultural shift, suddenly DevOps becomes primary focus & mindset needs to be adapted.
  • It becomes costlier since you need supporting infrastructure to support MSA.

Published by Sachin Kapale

--

--

Sachin Kapale works as a Director Of Technical Architecture.His other articles are available on http://www.sachinkapale.com

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
Kapalesachin

Sachin Kapale works as a Director Of Technical Architecture.His other articles are available on http://www.sachinkapale.com