78

Google Drops Bazel in favor of Nx

 2 years ago
source link: https://blog.nrwl.io/google-drops-bazel-in-favor-of-nx-13827d388bbd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Google Drops Bazel in favor of Nx

In an attempt to lower maintenance costs and increase developer productivity, going forward Google has made the decision to fully embrace the open-source monorepo tool Nx.

Nx has been around for more than 5 years having gained not only a high level of maturity but at the same time massive adoption in the community, now amounting to more than 1.6 million weekly downloads, experiencing a 50% growth just in the last 3 months.

Nx’s plugin system and developer kit have proven to be lightweight and still flexible enough to adapt to a variety of different ecosystems. Such extensibility is massively important for Google’s environment, allowing Nx to work beyond just pure JavaScript-based frontend development and potentially also leveraging the vast set of community plugins that are already available.

🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
It’s April Fool’s day, so guess we got you 😅. Sorry for that, but definitely keep reading. While Google is probably not dropping Blaze/Bazel (although Google, if you wanna reach out, we’re all ears), the rest of the article is actually 100% the truth, promise 🙂.
🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡

Now, while extensibility is important, Google was searching for something that could match its massive scale, allowing it to cope with the thousands of developers that daily commit to its monorepo and which should not suffer any productivity drain. Nx’s distributed computation cache helps with that and while Google’s scale will probably outgrow Nx Cloud’s free 500 hours per month offer, they can still benefit from hosting Nx Private Cloud in their massive data centers.

Nx’s distributed caching powered by Nx Cloud

Lowering their current maintenance and configuration costs being one of the main drivers, engineers found Nx Cloud’s distributed task execution (DTE) model extremely appealing. With minimal to no configuration, Nx Cloud DTE is able to leverage historical run data to automatically spin up agents on CI and thus achieve a high degree of parallelism, maximizing utilization and avoiding idle times.

Nx Cloud DTE agents parallelizing work

If you’re in a similar position, aiming to

  • lower maintenance costs of your developer build infrastructure
  • benefit from a high degree of developer ergonomics
  • leverage a vibrant community and rich plugin ecosystem
  • benefit from speed improvements coming from local computation caching and Nx Clouds cache distribution and DTE (note, for you 500 free hours/month might actually be more than enough 😉)

then definitely reach out. Go to

And note, today is a special day (April 1st), so don’t take everything too seriously 😉


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK