Multi-repo and Mono-repo Flashcards
1
Q
What is a repo?
A
A file that stores, maintains and manages project files.
2
Q
Define Mono-repo
A
A software strategy where all software files are stored on a single repo.
3
Q
Define Multi-repo
A
A software strategy where all files are stored across distributed repos.
Each repo may hold a different service or software component.
4
Q
What are the pros on Mono-repo?
A
- Easier access
- Easier maintenance
- Easier to automate tests on
- Easier collaboration due to centralised code.
All benefits stem from being centralised…
5
Q
what are the cons on Mono-repo?
A
- Harder to scale than multi-repo
- Central point of failure
- More dependencies in the software code base
6
Q
What are the pros of Multi-repo?
A
- Greater ownership over components
- Scalable
- Noe central point of failure
7
Q
What are the cons of Multi-repo?
A
- End to end tests are harder to run due to distributed nature
- Increased communication overhead
- More communication means more room for error
- Merging repos can become complex and may require a specialist