nx/docs/nx-cloud/intro/why-nx-cloud.md
Philip Fulcher 46497356ce
chore: migrate links to blog (#26892)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->
Blog links point to Medium and dev.to blogs
## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
Blog links point to internal blog
## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-07-15 15:28:06 -04:00

2.4 KiB

Why Nx Cloud?

{% youtube src="https://youtu.be/4VI-q943J3o" title="Fast CI for monorepos" width="100%" /%}

If CI feels challenging to you, it might not be your fault. It's a fundamental issue with how the current, traditional CI execution model works. Nx Cloud adopts a new task-based CI model which allows you to overcome both the slowness and unreliability of the current VM-based CI model. (Dive deeper into the task based CI execution model in this blog post)

Nx Cloud addresses critical aspects of CI/CD, including:

  • speed - 30% - 70% faster CI (based on reports from our clients)
  • cost - 40% - 75% reduction in CI costs (observed on the Nx OSS monorepo)
  • reliability - by automatically identifying flaky tasks (e2e tests in particular) and re-running them

How?

Nx Cloud follows a task-based CI model which is not just fast but also robust. Instead of statically assigning work to machines (as in a traditional CI model), you can imagine a pile of tasks which get picked up automatically by agents on the Nx Cloud infrastructure. There's no static assignment, agents coordinate the work by themselves. If an agent fails during the setup phase, other agents will pick up its work. If more work needs to be done, more agents will be started to still guarantee a fast execution, if less work is needed, fewer agents will be started to save resources.

All this is possible because Nx Cloud directly integrates with Nx and has knowledge about the project structure and tasks as well as dependencies among them.

Read more about individual features of Nx Cloud in the features section.

Integrate Nx Cloud into my CI setup

Ready to experience fast CI? Read the connect to Nx Cloud page for more details.

Learn more