Our journey to microservices: mono repo vs multiple repositories

Our journey to microservices: mono repo vs multiple repositories

– By Avi Cavale on June 02, 2016

Microservices are the topic that is hottest in software development. The idea is straightforward: break up the application into smaller pieces that all perform a solitary company function|business that is single} and will be developed and deployed individually. These pieces, commonly called solutions, can be assembled into then a credit card applicatoin with a couple taste of solution development like nginx or consul. The microservices approach is definitely the architecture of preference for groups that are looking for to create scalable platforms and effectively and quickly innovate in it.

As infatuated as I have always been with this particular architecture, our journey to microservices had been a long and winding road. This has finally led us to a version associated with architecture that provides us the scalability and agility we require as a small business. I would like to share my ideas, experiences, and classes discovered in a few blog sites surrounding this topic so that you may reap the benefits of our experiences. Additionally, i might want to ensure you get your feedback or reviews on our approach.

You write a single line of code is: How do you organize your codebase when you start moving to microservices, the first question before? Can you create a repository for each solution, or would you produce just one ‘mono repo’ for many solutions? The 2 approaches are illustrated below:

Multiple Repositories

We started off with all the approach that is first numerous repositories. It made more feeling for most reasons:

Clear ownership: considering that the codebase mimics the architecture, a team that is small obtain and individually develop and deploy the total stack of a microservice. Continuar leyendo «Our journey to microservices: mono repo vs multiple repositories»