Skip to main content

Microservices vs. SOA

What is a micro service?
Small, individually, independently deployable application components that are self-contained and exposed through lightweight http based APIs. Here the independence of the of those components is really important because it has lot of ramifications in terms of how manage large-scale deployments of this architecture. Some people may say micros services are contrary to service oriented architecture. Actually, that's not true, Micro services are extension or evolution of service oriented architecture. The same principles still hold true but then it fixes lots of problems that were there in the service oriented architecture like large ESBs (Enterprise service bus), unwieldy configurations and scalability issues. It breaks that down into small reusable components that now you can scale individually or you can manage individually, so it gives lot more flexibility.

Why IT industry has moving towards Micro Services?
Well, obviously Agile and Scrum are big factor in this because here the organizations wants to deliver things quicker., DevOps is the other key word you know key to this. In micro service architecture world we have lots and lots of deployments. So we need a good CI/CD pipeline and ways to deploy these services as opposed to the old traditional way of doing things. A person, I mean a developer who is responsible for that particular service end to end all the way to production. So it's changing and flipping how organizations hand things off to productions because the same person is responsible for it from the start all the way to be running in production.

Some comparisons between Micro services vs. SOA.
Micro service architecture trying to achieve many of the same things (enable the creation of business functions as isolated components) but at a very different scale. SOA evolved to become focused on the enterprise scale (though some would say that wasn't the original intent). Micro services are primarily at the application scale.

Both the components describe the actual implementation of a business function, They differ primarily in granularity, but also arguably in maintainability, agility etc.

Micro services is primarily an application architecture concept. some of the ideas might be applicable at an enterprise level, but that rather depends on the size and shape of your enterprise.

SOA is an enterprise level architectural concept for enabling more effective direct integration between applications. you can certainly bring micro services techniques into that space to help build some of the componentry in new ways, but beware when the scopes overlap as some of the core principles are opposing.

Comments

Popular posts from this blog

Multiplication Table in SQL Server

Multiplication Table in SQL Server This query gives the multiplication table from 1 to 10. DECLARE @A INT,                   @B INT,                   @C INT,                   @D VARCHAR (100)                   SELECT @A=1                  PRINT ' MULTIPLICATION TABLE 1-10' /****************************************/ /* Created By : Loganathan V */ /* Created On: 20-Sep-2010, Monday */ /* Purpose : Multiplication Table */ /* How to : RUN THE QUERY */ /****************************************/ WHILE (@A<=10) BEGIN         ...

Virtual machines vs. Containers

One of the questions that often comes up to anybody who's in the cloud space is, what are the differences between virtual machines and container? When should use one versus the other? Unfortunately the answer is not so simple clear-cut. We can't say you should always use containers or always use virtual machines. But, there are some things to keep in mind. There are certain kinds of applications which benefit from running in containers or using micro services in general. Microservices means taking an application and decomposing it into smaller parts. This is really good if you need to build a web scale application and you need to have the ability to turn up different dials of performance somewhat independent of each other. For example, take the middleware piece or the front end or the database piece and you need to scale them individually. The other benefit of containers is a consistency between the development environment and the production environment where you can take thing...

Node.js for Everything

Lots of web applications using Javascript for front end for a long time. Javascript enabling people to build really really interactive great products, we can use Javascript on the front end and on the back end. So, what do we do on the back end? Node.js is the answer. Here we'll see some of the npm packages that'll help us to enable Javascript in back end as well. Load balancing is the main one when you plan to host your application server environment. Node offers pm2 package to easy your job. It's modern CLI process manager for Node apps with a builtin load-balancer. npm install pm2@latest -g pm2 start app.js Next thing is running applications continuously. Yeah, we've a node package named forever. It's a simple CLI tool for ensuring that a given node script runs continuously. npm install forever -g forever start app.js Enabling debugging in Javascript client applications are easy. Debugging a node application is sometimes a black box sometimes not, but one of the ...