cachix icon indicating copy to clipboard operation
cachix copied to clipboard

Allow evaluating each agent without growing memory linearly

Open domenkozar opened this issue 2 years ago • 0 comments

Problem

Once you reach ~25 agents, memory grows to ~10GB to evaluate all the NixOS machines.

That's problematic for local development.

Ideas

  • use https://github.com/nix-community/nix-eval-jobs to evaluate top-level attributes where they are agents and then feed the result into deploy.json
  • evaluate each agent using a separate cli call and introduce some parallelism like --jobs 4

domenkozar avatar Sep 08 '23 10:09 domenkozar