Hi, I am Trishul
🤖
👨💻
@trishulgoel
@trishulgoel
@trishulgoel
Monolithic application is designed to be self-contained; components of the program are interconnected and interdependent
@trishulgoel
@trishulgoel
https://en.wikipedia.org/wiki/Model–view–controller
@trishulgoel
https://microservices.io/patterns/microservices.html
@trishulgoel
@trishulgoel
All the code in a single place
Increased inter-team dependency
Slow development to deploy cycle
Increasing size of repo everyday
@trishulgoel
@trishulgoel
@trishulgoel
Standalone system
Independent Repository
Independent CI Pipelines
Independent Deployments
@trishulgoel
@trishulgoel
Remote 1
HOST
Remote 2
Remote 3
@trishulgoel
HEADER
FOOTER
Home Page
Product Listing
Page
Product Details
Page
Payments
and
Checkout
Cart
MicroFrontend
Appshell / Host
@trishulgoel
Shared business Logic
Login
Tracking
System config
Routing
@trishulgoel
Same tech stack
Share via props
Different tech stack
Custom DOM events
@trishulgoel
@trishulgoel
@trishulgoel
Node modules
IFrames
@trishulgoel
@trishulgoel
Remote 1
Remote 2
Remote 3
HOST
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
@trishulgoel
Templating engine
Tenpureto
@trishulgoel
@trishulgoel
@trishulgoel
https://webpack.js.org/concepts/module-federation/
https://github.com/module-federation/module-federation-examples