adisbladis changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/ https://meet.jit.si/NixOpsReview | NixOps 2.0 planning call 2021-02-05 15:00 UTC
mcornick has quit [Quit: leaving]
mcornick has joined #nixops
mcornick has quit [Quit: zzz]
<aminechikhaoui> aanderse sorry just noticed your message, it isn't clear to me what's slow in the deployment, sounds like the build of the required derivations itself is slow. I guess it's not really NixOPS related ? even if you nix-build the derivations it would be slow ?
<aminechikhaoui> Raito_Bezarius I think hydra.nixos.org is deployed using flakes, https://github.com/NixOS/nixos-org-configurations/blob/master/delft/flake.nix#L8
<aminechikhaoui> iirc it's a matter of doing nixops create -d <depl> --flake <flake-uri>
avaq_ has joined #nixops
avaq_ has quit [Read error: Connection reset by peer]
avaq has joined #nixops
cole-h has quit [Ping timeout: 245 seconds]
jD91mZM2 has quit [Quit: ZNC 1.8.2 - https://znc.in]
jD91mZM2 has joined #nixops
avaq has quit [Ping timeout: 245 seconds]
avaq has joined #nixops
<aanderse> aminechikhaoui: true, but because it's nixops there are many machines, so i thought you might have some experience... how large are you nixops networks compared to how fast they build?
<aminechikhaoui> aanderse because our builds are slow we build things on a hydra instance then use the resulting closure to deploy, so generally things built during the deploy are minimal. We've had issues before with large networks (50ish machines) when the output size of builds is large but that was an issue during the copy closure phase mostly.
<aanderse> aminechikhaoui: thanks. that information is useful. it at least tells me there isn't any magic nixops specific sauce i can throw on this to fix it... have to look at specific machines and improve there, or come up with solutions like you mention (overnight deploys, etc...)
meh` has joined #nixops
<Raito_Bezarius> aanderse: wouldn't flake eval caching help in your case?
<aanderse> Raito_Bezarius: i don't know, i don't really know much about flakes
<Raito_Bezarius> If you grep the logs on NixOps evaluation questions, I think I have seen some discussions with clever and adisbladis on how to make it faster under certain conditions but it's on the Nix level (keyword: builtins.fork)
<aminechikhaoui> flakes would help with eval caching but my understanding is that this is just few builds being slow not evaluations ?
cole-h has joined #nixops
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixops
mcornick has joined #nixops
meh` has quit [Ping timeout: 276 seconds]
mcornick has quit [Quit: bbl]
clever has quit [Ping timeout: 260 seconds]
clever has joined #nixops
meh` has joined #nixops
cole-h has quit [Ping timeout: 245 seconds]
meh` has quit [Ping timeout: 245 seconds]