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

Hackathons - Top 4 Reasons Why You Should Participate in Them

The story begins when I encountered a HBR post that works out a few metrics about how companies that have highly engaged employees, outperform those that doesn't. My brain started thinking passively about these metrics and how it can impact business in a larger sense and I started thinking how we can have better engaged workforce that benefits both the company and the employees themselves.

Then, one fine day, when I was driving my car mindlessly, not knowing how my minded drifted to the same topic, I was again deeply thinking about the ways that we could engage employees more in simpler ways and get them involved in more ideation and creation process. This, in my opinion, will create more avenues for the employees to gather real world problem and brainstorm its solutions and help them in their growth for their careers. I thought this could be a real problem that can be solved for the knowledge workers as a whole. Then suddenly there was a huge Volvo bus in front of me siding from…

What's next to Conversational AI, Conversational Bots, Chatbots? Is it Conscious Bots?

This is an personal opinion essay from Jey Geethan about chatbots and its future.
Pre-Introduction Chatbots are programmatically independent software engines which mimic the way that consumers talk to a person and answer them in a appropriate ways - This could be the simplest way in which you can describe them. Also, you can imagine them to be a situation where instead of you talking to a real person over chat, social media, phone or email, you are instead talking to a computer agent who replies on the human's behalf.

Introduction Chatbots are almost everywhere now. Every banking website that you see, you have a bot icon at their bottom right corner. Website owners are also implementing chatbots for their websites where they feel that the chatbots can help their visitors in terms of information and also to reduce the amount of work done by the human counterparts.

In this essay/article, I would discuss about what the future of conversations are. What might happen to chatbots and what…
You will receive wonderful short stories written by him and inspirational articles once every month.