monorepo
monolith
Advantages
Pain points in Monolith !
microservice
Advantages
over
Monolith
Pain points of Microservice
serverless
serverless
Advantages over Microservice
Pain points
monorepos
monorepos
what it's not?
Replacement or competitor of
- Monolith
- Microservice
- Serverless (FAAS)
Monorepo
- How to organize your code
Monorepo
Advantages
- single source of truth
- all the changes related to feature is in the single place/PR
- dependency hell
- easy rollback management
- singular coding style
- setup once (babel, webpack), not in every repos
- easy refactoring
- avoid repeated boilerplate code
- collaboration across teams is easier
Monorepo
Then why no one is using it?
Monorepo
Monorepo
Monorepo
Why Google Stores Billions of Lines of Code in a Single Repository
Uber Technology Day: Monorepo to Multirepo and Back Again
Monorepo
Monorepo
Pain points
- Source control (git, hg)
- Technical limitations on performance issues
- Managing access control
- CI & CD
- New learning
- Integration with an existing build process
- Building and testing the entire codebase can take a long time
References
http://blog.shippable.com/ci/cd-of-microservices-using-mono-repos
Thanks
Q&A
monorepo
By imrul hasan
monorepo
- 885