Monorepo VS Polyrepo

preview_player
Показать описание
I recently got a chance to work on pretty big projects which use monorepo architecture and because in the past I was mostly working with polyrepo I decided it might be worth sharing some observations about the pros and cons of both solutions. In this video, I decided to compare monorepo and polyrepo from the perspective of a mobile developer, keep in mind that I'm not a DevOps, or backend developer, so my observations might be biased and do not take into account things that might be important for this kind of devs.

Follow me on:
Рекомендации по теме
Комментарии
Автор

I've been looking into monorepos too. And the points you brought out in this videos are exactly the same that I've faced with my team! Great video :)

mrsauravsahuin
Автор

I use the strategy of breaking up code bases by feature currently, and I find it to be a mixed bag. Some issues are simpler, like configuring docker & resources for each feature and handling different release schedules when multiple projects are happening. Other things are harder, like code sharing and keeping everything up to date. For example, I deal with about a dozen repos for just 1 project, and if we need to update a single utility function we have 2-3 dozen pull requests (some to develop, some to release, some to master) and a dozen deployments in order to keep everything in sync; a lot of work no matter how small a change is.

I've worked with the monorepo strategy before too, and while it's not perfect and has plenty of its own issues, sometimes it's much easier and faster to manage than many repos. A utility update results in 2-3 pull requests and 1 release.

baka_baca
Автор

Great insights! Exactly what I'm looking for

mikami
Автор

I think monorepo will be a good choice if you are developing a set of libraries and utils for your organization, in the other hand a dedicated repo for each end user applications ( frontend or backend) is the way to go. What do you think?

bjeouisaber
Автор

If you break code based on feature to multi repos rather than frontend repo, backend repo, mobile app repo, etc. then most of the problems you mentioned go away for multi repos

AlirezaMotevallian
Автор

Oh look at you 😃 Beautiful skin color, deep eye sockets, narrow manly nose, thin lips, and superb eye color

indonesianaspie