Microservices Introduction

What is Microservices?

What we had before this?

Microservices architecture

Advantages of Monolithic architecture

  • Simple to develop.
  • Simple to test.
  • Simple to deploy.
  • Simple to scale horizontally by running multiple copies behind a load balancer.

Disadvantages of Monolithic architecture

  • Tight coupling between components, as everything is in one application.
  • Less reusability.
  • Large code base, tough for developers and testers to understand the code and business knowledge.
  • Less Scalable.
  • Does not follow the Single Responsibility Principle.
  • More deployment and restart times.

Advantages of Microservice architecture

  • Independently deployable and allow for more team autonomy.
  • Independently scalable.
  • Reduce downtime through fault isolation.
  • The smaller codebase enables teams to more easily understand the code, making it simpler to maintain.

Disadvantages of Microservice architecture

  • It has all the associated complexities of the distributed system.
  • Higher chance of failure during communication between different services.
  • Difficult to manage a large number of services.
  • Network latency and load balancing.

Conclusion:

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CS371g Summer 2021: Jed Benedict Eloja — Week 4

Android App Development Workshop by Google Developer Group

READ/DOWNLOAD@) Designing for Cisco Network Servic

How to manage your StartUp?

Serverless Telegram bot with Kotlin, Firebase and Google Cloud Functions

DM from a designer in Buenos Aires named Rebecca Brooker who would become my cofounder

Python List Comprehension In 4 Minutes

Using Java 8’s Function interface for extension

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Krishnkant Jaiswal

Krishnkant Jaiswal

More from Medium

Best Practices for Microservices

Why Event-Driven Architecture (EDA) is needed?

Event Driven Architecture

Message Oriented Middleware — RabbitMQ — Part 2

Tools for Event Driven Architecture: Integrate Jenkins and RabbitMQ