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

Nx - The Obvious Choice

Nx - The Obvious Choice

We live in a world constantly being tempted with choices. Choices that drain our time and energy. How do you decide what to use? How do you make sure your choice is the right one? Who should you trust?

Let me enlighten you on what benefits you will reap by using Nx (and monorepos) in every project size and setup. Let me give you enough arguments to make the right choice. The obvious choice you were missing this whole time.

Get ready for the future! Get ready for the age of monorepos!

Miroslav Jonaš

March 23, 2022
Tweet

More Decks by Miroslav Jonaš

Other Decks in Programming

Transcript

  1. Miroslav Jonas / @meeroslav / nx.dev / nrwl.io The Obvious

    Choice Angular Munich Meetup / March 2022
  2. Homepage App Backend Every application* UI Components 
 / 


    Design system Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1
  3. Homepage App 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
  4. Homepage App 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
  5. Homepage App Backend Collocation UI Components 
 / 
 Design

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

    { build, test, lint,... } Nx Local cache { build, test, lint,... } Nx Local cache
  7. 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 Single agent
  8. - local & remote caching - task orchestration - detecting

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

    consistent tooling - code constraints Monorepos make it easy
  10. Miroslav Jonas / @meeroslav / nx.dev / nrwl.io The Obvious

    Choice Angular Munich Meetup / March 2022