Skip to main content

Why Microservices?


I have a few tidbits about why to use microservices and why it makes sense to create few microservices as a side project and learn from the same. A lot has been said on why you should use microservices in the internet, that said, I look at it from a practical point of view and give you a very basic idea why we should use microservices and stop monoliths from becoming huge mountains of code in the future.

Advantages

  • Simpler codebase(s) - Multiple projects with simpler code to maintain.
  • Single responsibility - The microservice has a single responsibility and moves the developer from the mindset of developing everything together into separating multiple functional aspects into separate codebase.
  • Test coverage naturally increases - since the codebase becomes smaller, the code coverage increases and bugs are figured out earlier in the development lifecycle.
  • Readable codebase - Smaller equals precise and more readable and understandable. You have to understand this is different from simpler codebase because readability is a different aspect in itself.
  • More power to the developer - Developers can choose and implement their own languages or databases as long as the other teams can also chip and debug if necessary. So developers get more freedom to do what they want to do - code away!
  • Time taken to develop each microservice becomes less.
  • Change is less expensive to implement - As the services are small and easily readable and created within days and weeks, the changes to the same codebase becomes really less and better to make those changes and deploy them easily
  • Versioning becomes mainstream - incase of APIs, microservices make you follow versioning and it becomes the first nature of developers to implement versioning in their endpoints/REST api endpoints so that other microservices can still depend on the old endpoints. This helps in making versioning an explicit way of programming with microservices.
There are other reasons as well, but the above summarizes why you would need microservices and you can depend on the microservices to build your next project/sideproject. There are complexities as well in orchestrating the microservices, but I will work on them as a post at a later point of time. Meanwhile, you can practice and write your own microservices and play with them. Keep tuned for more posts.

You can follow me at Twitter, Facebook, LinkedIn and Website.

Comments

Post a Comment

Popular posts from this blog

B2B selling demystified like a Rockstar - Part One

I'm sure every person in the enterprise world knows the definition of b2b. B2B is short for “business to business.” It indicates sales made to other businesses, rather than sales to individuals. The latter is referred to as “business to consumer” sales, or b2c. This distinction makes the sales person think that b2b sales is very different from b2c. B2B requires a lot of interpersonal skills and lots of casestudies to get across to that particular influencer who needs to be convinced that your product/service is going to make a change to his organization. Is that right?

Before we get into the details of b2b selling, lets have a look at this particular statistic from Forrester Research.


"1 million B2B sales jobs in the U.S. will be obsolete by the year 2020."
– Forrester Research What does this mean? And why is the b2b landscape changing a lot? Before we answer those questions, lets have a look at what b2b selling means.
How do you approach B2B
B2B selling is a step by process…

Why should content marketing take a high priority in your marketing efforts?

I have been on both sides of the sales coin — as a seller and as a buyer. It is frustrating when you have too many people trying to sell their so called “flagship” product or services. It is also highly frustrating when you are trying to sell your services/products to probable customers. It is highly tough, if not impossible, to get the right audience to listen to your messaging. This is where the content marketing comes in. The following points highlight why content marketing is good and should start to do it if you haven’t started yet. 1. Social content will lead to more shared content If you write content that is captivating and that which resonates with the end-audience, then you have increased your probability of getting more shared content and this content might spread just as easily to more marketing channels like email, whatsapp, linkedin etc. So it is always better to have content that could be spread to your social channels. 2. Organic searches will lead to better goal conv…