• Skip to main content
  • Skip to primary sidebar
BMA

BeMyAficionado

Inspire Affection

Modular Monolith – A LousyTalk

April 12, 2023 by varunshrivastava Leave a Comment

Modular Monolith
My Two Cents
Modular Monolith - A LousyTalk
Loading
00:00 / 5:25
Spotify
RSS Feed
Share
Link
Embed

Download file | Play in new window | Duration: 5:25 | Recorded on April 12, 2023

Subscribe: Spotify

Hello everyone and welcome to the podcast “My Two Cents”.

The topic of today’s podcast is modular monolith.

So we will start by going through to the monolith structure and what problem to face with monolith applications, then we will talk briefly about micro frontends and then we will come back to modular monolith. An approach to software development that will lead us to easy migration to micro-frontend.

In the early days of development, especially in frontend, the projects were not that big and it was manageable 5-6 people. But as time progressed more and more people joins the team, requirement grow, features list grow and after some time code became really messy.

It is no longer manageable and it is restricting the teams to put out new features. During that time the developers think about breaking it down. Breaking this monolith into different models and later on migrated to micro-frontend.

But it is too late now. It’s too late because the code is convoluted. The code has so many dependencies across so many modules that it’s very hard to differentiate between modules so that it can be migrated to micro-frontend.

This brings us to micro-frontend. Like how did micro frontend solve this problem.

Micro-frontend provides isolated way of maintaining the project. It consists of end-⁠to-⁠end pipeline, development cycle inside of a single domain. Let’s say you are building an E-⁠commerce website and you work in Product domain. So product is completely isolated module and will have its own components, its own pages, its own services and also its own routing.

So all of this bundled into a module will be deployed isolated from other modules/domains. Your team will be dedicatedly working on products. They will be responsible for all the features related to the product domain and releasing a new feature to production and all of this development won’t be dependent on any other team or any other domains. This is the power of micro-frontend.

So every module will have its own development pipeline, its own deployment pipeline and testing pipeline. Everything will be isolated. 

Coming back to modular monolith. What is it?

Lets say you have to start a project now. It appears that you won’t have a very large feature said you won’t have a victim to manage. So you will most likely start with a mono Repo. This Modular Monolith can benefit from all the features of micro-frontend from the very beginning.

You won’t start coding directly by creating component. What you do is, you will sit back and you will understand the business, you will finalize the domains and their boundaries. And for it to work effectively, you will have to put up discipline in the team that no cross domain dependencies should be created.

You will not cross domain boundaries to access another module. Doing so creates a tight coupling and you don’t want that. So want to have this discipline with your code base, then you can simply as you develop your code in a single model repo and once your product grows inside of you have more people more team members work on the project. Then you can simply take out this module which have been maintained from the start which doesn’t have any dependency outside of its own. You just take it out put it into a separate Repo and everything will work as it is.

The only thing that comes in mind is that the communication between different modules/domains is the event driven communication. I plan to create another podcast on that. 

So I’ll just leave it here for you to ponder upon if you have any questions so far.

Related

Tagged With: micro-frontend, modular-monolith, monolith, podcast

Primary Sidebar

Subscribe to Blog via Email

Do you enjoy the content? Feel free to leave your email with me to receive new content straight to your inbox. I'm an engineer, you can trust me :)

Join 874 other subscribers

Latest Podcasts

Recent Posts

  • Is The Cosmos a Vast Computation?
  • Building Semantic Search for E-commerce Using Product Embeddings and OpenSearch
  • Leader Election with ZooKeeper: Simplifying Distributed Systems Management
  • AWS Serverless Event Driven Data Ingestion from Multiple and Diverse Sources
  • A Step-by-Step Guide to Deploy a Static Website with CloudFront and S3 Using CDK Behind A Custom Domain

Recent Comments

  • Varun Shrivastava on Deploy Lambda Function and API Gateway With Terraform
  • Vaibhav Shrivastava on Deploy Lambda Function and API Gateway With Terraform
  • Varun Shrivastava on Should Girls Wear Short Clothes?
  • D on Should Girls Wear Short Clothes?
  • disqus_X5PikVsRAg on Basic Calculator Leetcode Problem Using Object-Oriented Programming In Java

Categories

  • Blogging
  • Cooking
  • Fashion
  • Finance & Money
  • Programming
  • Reviews
  • Software Quality Assurance
  • Technology
  • Travelling
  • Tutorials
  • Web Hosting
  • Wordpress N SEO

Archives

  • November 2024
  • September 2024
  • July 2024
  • April 2024
  • February 2024
  • November 2023
  • June 2023
  • May 2023
  • April 2023
  • August 2022
  • May 2022
  • April 2022
  • February 2022
  • January 2022
  • November 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016

Tags

Affordable Hosting (4) algorithms (4) amazon (3) aoc-2020 (7) believe in yourself (4) best (4) database (4) earn money blogging (5) education (4) elementary sorting algorithms (4) experience (3) fashion (4) finance (6) Financial Freedom (7) food (7) friends (3) goals (5) google (5) india (10) indian cuisine (5) indian education system (4) java (16) life (16) life changing (4) love (4) make money (3) microservices (9) motivation (4) oops (4) podcast (6) poor education system (4) principles of microservices (5) problem-solving (7) programmer (5) programming (28) python (5) reality (3) seo (6) spring (3) success (10) success factor (4) technology (4) top 5 (7) typescript (3) wordpress (7)

Copyright © 2025 · Be My Aficionado · WordPress · Log in