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

The Age of monorepos (JSNation)

The Age of monorepos (JSNation)

Miroslav Jonaš

June 16, 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 Single agent 10 tasks 105 tasks 5 tasks 60 tasks 35 tasks Agent 1 Agent 2 Agent 3 Agent 4 Agent 5
  5. @meeroslav / - local & remote caching - task orchestration

    - detecting affected nodes - distributed task execution Monorepos bring speed
  6. @meeroslav / - code sharing - code collocation - powerful

    generators - consistent tooling - code constraints Monorepos make it easy
  7. WHY BE A 10X 
 WHEN YOU CAN BE AN

    NX DEVELOPER? @meeroslav /