Home » Software Development » Introduction To Microservices

About Dhiraj Ray

Dhiraj Ray
He is a technology savvy professional with an exceptional capacity to analyze, solve problems and multi-task. He is an avid reader and a technology enthusiast who likes to be up to date with all the latest advancements happening in the techno world. He also runs his own blog @ devglan.com

Introduction To Microservices

MicroServices or Microservice Architecture is a distinct method of developing and designing software systems. The concept of a microservice originally crept into the software development community’s consciousness around 2014 and was a direct response to many of the challenges faced with old monlithic architecture.In this post we will focus on the crave of microservices.

What is a Microservice

A microservice is a small, loosely coupled distributed service .Microservices allows you to take large application and decompose or break into easliy managebale small components with narrowly defined responsiblities.The key point to embrace here is decomposing and unbundling the functionality.

Why Microservices

Before exploring the adavtages of microservices lets point out the hardship with monlithic applications.

  • Application is too large to understand the complexity and make code changes fast and correctly.sometimes it becomes hard to manage the code.
  • Growing with complexity application becomes heavy and slows down start-up time.
  • For small change in any corner of the application , the whole application needs to be built and deployed.
  • Applications need extensive manual testing to ensure the impact of changes.
  • Any Bugs found in one module can bring the whole application down.
  • Difficult to achieve scalability and resiliency.

Advatages of Microservices

  • Application is broken into smaller peices (Services) which is easy for developers to code and maintain.
  • Services are concerned ,lightwieght and indepedently deployable.
  • Services are reusable across platforms as it runs independently and communicates using lightweight mechanisms.
  • Fast delivery of features or change request.
  • Well adherable to cloud enviornments which explores increased scalability and avaliablity.
  • Improves fault isolation i.e larger applications can remain largely unaffected by the failure of a single module

Drawbacks of Microservices

  • As it becomes granular the headache comes for configuring the services and monitoring those.
  • Tracking down the service failure is painstaking job.
  • Needs a greater effort for end to end testing as it needs all the depdedent services to be up and running.
Published on Java Code Geeks with permission by Dhiraj Ray, partner at our JCG program. See the original article here: Introduction To Microservices

Opinions expressed by Java Code Geeks contributors are their own.

(0 rating, 0 votes)
You need to be a registered member to rate this.
Start the discussion Views Tweet it!
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of