Multi-repo and Mono-repo Flashcards

1
Q

What is a repo?

A

A file that stores, maintains and manages project files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define Mono-repo

A

A software strategy where all software files are stored on a single repo.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the pros of Multi-repo?

A
  • Greater ownership over components
  • Scalable
  • Noe central point of failure
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly