How big is the binary cache? Would it be reasonable to make a mirror?

I can find some information about mirroring (eg https://github.com/NixIPFS/nixipfs-scripts/tree/master/nixipfs which is very old) but nothing on even the order-of-magnitude scale. Would it be reasonable? Would staff hate me for using bandwidth if I copy everything?

1 Like

Something like 800 TB IIRC.

3 Likes

If you want a mirror for it, I recommend reaching out to the Foundation and look into the price for an AWS Snowball or two to get it shipped to you (at your expenses).

2 Likes

Here’s a summary:

2 Likes

The only mirrors for Nix binary cache I know in real world are hosted in China. They are powered by https://github.com/tuna/tunasync-scripts/blob/3cbfef6b4ecf6ae9dea97667479ff1c4ef403d6f/nix-channels.py.

Wow I had no idea. 400TB is definitely not reasonable for me, I’m just a hobbyist

1 Like

In fairness, given the linked discussion, a lot of that is “legacy”, and from NixOS versions that are EOL. You could probably mirror part just the more relevant stuff by a mechanism other than an AWS snowball.