Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Age of monorepos

The Age of monorepos

The history of the web can be divided into evolutionary development leaps. The age of inline scripts, the age of jQuery, the age of SPAs, the age of JAMStack...

We are now entering the next stage that has been carefully prepared in the past few years. Let me invite you to the world of modern monorepo solutions and share with you the benefits you will reap by using them in every project size and setup. It's time you automate those boilerplate tasks and reduce the bottlenecks so you can focus on what truly matters.

Get ready for the next leap! Welcome to the age of monorepos!

Miroslav Jonaš

February 10, 2022
Tweet

More Decks by Miroslav Jonaš

Other Decks in Programming

Transcript

  1. Homepage App (framework X) Backend Every application* UI Components /

    Design system Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Admin Portal App Mobile App Utility
  2. Homepage App (framework X) Backend Collocate UI Components / Design

    system Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Admin Portal App Mobile App Utility
  3. Caching Never { build, test, lint… } same code twice

    { build, test, lint,... } Nx Local cache { build, test, lint,... } Nx Local cache
  4. Distributed task execution 10 tasks 110 tasks 100 tasks 150

    tasks 10 tasks 105 tasks 5 tasks 60 tasks 35 tasks Agent 1 Agent 2 Agent 3 Agent 4 Agent 5
  5. - local & remote caching - task orchestration - detecting

    affected nodes - distributed task execution - remote execution Monorepos bring speed
  6. - code sharing - code collocation - powerful generators -

    consistent tooling - code constraints Monorepos make it easy