What is microservices architecture

What is microservices architecture

Hello friends. Today we are going to discuss about microservices architecture. This is a very interesting topic to discuss these days. There are less materials found related to this topic. Therefore I decided to discuss about this topic today. So we will see what is microservices architecture.

To understand microservices architecture firstly we will see what is software architecture. Let’s learn some information related to software architecture. Firstly what is software architecture. Every system has a software architecture. Without a good architecture the system is most likely to fail. Software architecture is the structure of the system. How components are organized, relationships among them. There are two architectures. They are monolith architecture and service oriented architecture.

Monolith Architecture

Monolith architecture is the earliest architecture we used. It had some issues also therefore service oriented architecture came. Monolith applications are built as a single application. There are strong coupling among components and no or poor system distribution. Monolith architecture is easier to design and lesser problems when implementing the system. It is easier to code since one unit for coding and deploying.

Issues in monolith architecture

  • All components should be in same technology.
  • There is no or poor distribution, system is a centralized one.
  • Less scaling ability.
  • Resource management.
  • Testing cannot detect all issues.
  • Not support continuous delivery and integration.
  • Deploying frequency is limited.
Monolith architecture
Monolith architecture

Service oriented architecture

Now let’s discuss about service oriented architecture. Service oriented architecture started in 1998. This is not a 100% distribute architecture yet slightly it is. SOA implementing with the help of SOAP and WSDL. ESB is also use to make SOA. Service oriented architecture is easier when sharing data and functionalities.

Problems in SOA

  • It is not easier to build ESB.
  • Expensive
  • Complicated
  • Difficult to maintain
  • inadequate tools for quick testing
  • operationally complex
  • incremental change

Microservices architecture

Firstly we have study about software architectures. Then after that we study about two types of architectures. Now on we are going to discuss about microservices. Microservices is a architectural pattern. It is far better than SOA and monolith. Microservices is an approach to developing a single application as a suite of small services. Also microservices describe as functional decomposition into manageable and independently deployable components.

Guidelines for microservices

Now we are moving to discuss guidelines in microservices. There are nine guidelines. Let’s discuss about them.

  • Componentization Vs services
  • Organized around business capabilities
  • Product not projects
  • smart endpoints and dump pipes
  • decentralized governance
  • decentralized data management
  • infrastructure automation
  • design for failures
  • evolutionary design

Features in microservices architecture

  • Distributed architecture
  • separately deployed components
  • service components
  • bounded context
  • service orchestration

Benefits of microservices

  • Faster and simpler deployments
  • Right framework/tool/language
  • Grater resiliency
  • Better scaling
  • Better availability

Conclusion

Hope you have understood and gain some knowledge related to microservices. If you have ideas about this post what we discuss please comment and let us know. Share this for others benefit also. Hope to meet you soon with another interesting topic. Till then good bye!

Audy Ranathunga

Audy Ranathunga, Author of myexamnote is our most experienced author. She has been working as a blog post writer for 4 years. She joined with myexamnote before 1 year ago and she has contribute lots of valuable posts for readers.

This Post Has 8 Comments

  1. Avatar
    graliontorile

    It?¦s actually a nice and useful piece of info. I?¦m satisfied that you simply shared this helpful info with us. Please keep us informed like this. Thank you for sharing.

    1. Audy Ranathunga
      Audy Ranathunga

      Thank you so much for your reply.

  2. Avatar
    Jessia Pucker

    I went over this site and I think you have a lot of superb information, bookmarked (:.

  3. Avatar

    This is the perfect blog for anyone who wishes to find out about this topic. You understand so much its almost hard to argue with you (not that I actually would want toÖHaHa). You definitely put a brand new spin on a topic that has been discussed for many years. Excellent stuff, just great!

  4. Avatar
    vertimų biuras

    I have recently started a site, the information you offer on this web site has helped me greatly. Thanks for all of your time & work.

    1. Avatar
      myexamnotez

      Thank you very much for your feedback. Keep reading us.

Leave a Reply