Cachix - Nix binary cache hosting, has grown quite a bit in recent months in terms of day to day usage and that was mostly noticable on bandwidth.
Over 3000 GB were served in December 2019.
CDN by CloudFlare
Increased usage prompted a few backend machine instance upgrades to handle concurrent upload/downloads, but it became clear it’s time to abandon single machine infrastructure.
As of today, all binary caches are served by CloudFlare CDN.
On top of that, nars are served directly from storage so you can now spin up your 1000 machine clusters.
Initial testing shows ~20MB/s on cache misses, which is equivalent to S3 performance. Actual benchmarks need to be done for fair comparison since transfer speed depends on various things like location.
- if you’re uploading derivations bigger than 100MB (after compression), you’ll need to upgrade to Cachix 0.3.5.
- DNS change needs to propagate, allow up to 24h for some vendors to propagate it
- caching of DNS entries needs to be further tweaked
Double storage size
As of today, all paid plans are doubled in storage size:
- starter: 20 GB
- basic: 100 GB
- pro: 1000 GB
All plans have an unlimited bandwidth.
Cache specific API tokens have been requested a number of times, so they are coming up next.
If you notice any issues please report them on github or on twitter.
Happy caching, Domen