!CcTBuBritXGywOEGWJ:matrix.org

NixOS Binary Cache Self-Hosting

168 Members
About how to host a very large-scale binary cache and more57 Servers

Load older messages


SenderMessageTime
2 Mar 2024
@raitobezarius:matrix.orgraitobezariusEither way, it seems there's a dire need of01:56:02
@raitobezarius:matrix.orgraitobezarius(a) a long term solution that is cost-efficient and low maintenance for the community (or somehow we find a way to pay people to work on infra), e.g. ≤ N€/mo01:56:35
@raitobezarius:matrix.orgraitobezarius(b) a very short term solution to avoid dropping 50K USD to AWS just for storing 500TB and moving 80TB/mo01:56:54
@raitobezarius:matrix.orgraitobezarius(c) a way to clarify what is the budget for the binary cache that is being operated and a way to secure that money01:57:20
@nh2:matrix.orgnh2
In reply to @raitobezarius:matrix.org
Another solution I am personally pursuing is just to get 1PB myself and put it in a non-super-available colo but almost free colo and duplicate the data
I guess this might also be an approach, just launch a "competing" binary store, that can have the benefits of not needing GC because it's cheaper, and perhaps also faster.
For colo you want to buy the hardware? Is it also in Hetzner colo?
01:57:33
@raitobezarius:matrix.orgraitobezariusIt's not in Hetzner01:57:45
@raitobezarius:matrix.orgraitobezariusI'm based in France01:58:10
@raitobezarius:matrix.orgraitobezariusI personally think buying the HW comes cheaper in the end01:58:30
@raitobezarius:matrix.orgraitobezariusBut then we have to manage HW01:58:34
@raitobezarius:matrix.orgraitobezariusI already do it for a bunch of hardware, but it's not something that thousands of people depend on, so it's another discussion01:58:57
@nh2:matrix.orgnh2Theoretically it does not matter so much. You can buy the HW, ship it to hetzner, and pay them 21 EUR for 15 minutes "Remote hands" https://docs.hetzner.com/robot/colocation/faq/#can-hetzner-online-install-my-hardware01:59:34
@raitobezarius:matrix.orgraitobezariusPeople may have other ideas like freezing the bucket in Glacier temporarily, then sending it to R2/Backblaze B2, or doing slow transfer proxy by replicating any data that gets requested via Fastly01:59:35
@raitobezarius:matrix.orgraitobezarius
In reply to @nh2:matrix.org
Theoretically it does not matter so much. You can buy the HW, ship it to hetzner, and pay them 21 EUR for 15 minutes "Remote hands"
https://docs.hetzner.com/robot/colocation/faq/#can-hetzner-online-install-my-hardware
Yeah, I guess
02:00:24
@raitobezarius:matrix.orgraitobezariusI just don't know if we can afford or if we want to go for Hetzner Colo vs. Hetzner managed hardware if we go for a Hetzner service02:00:42
@raitobezarius:matrix.orgraitobezariusAll of that is very fuzzy in my mind and dependent on current infrastructure team decisions / will02:00:54
@raitobezarius:matrix.orgraitobezariusSo I would rather avoid pushing on them anything02:01:00
@raitobezarius:matrix.orgraitobezariusAlso why I build my own solution on my side02:01:10
@raitobezarius:matrix.orgraitobezariusOverall, what I believe is that if someone comes in and drops 50K on the Foundation for the objective of duplicating the binary cache to save it, it's a solved problem02:01:46
@raitobezarius:matrix.orgraitobezariusUnder that amount, you are kinda stuck having to ask the Foundation to consider taking the risk02:01:57
@raitobezarius:matrix.orgraitobezariusAnd it's not clear that it's a right choice or not02:02:04
@nh2:matrix.orgnh2For your colo, does it offer separate datacenters that isolated failure domains against fire?02:02:15
@raitobezarius:matrix.orgraitobezariusvs. garbage collecting and giving up on that data and preparing for the next set of data02:02:17
@raitobezarius:matrix.orgraitobezarius
In reply to @nh2:matrix.org
For your colo, does it offer separate datacenters that isolated failure domains against fire?
Nope
02:02:27
@raitobezarius:matrix.orgraitobezariusIf that was a goal, I would just send things in Glacier that I really care about, e.g. FODs02:02:56
@raitobezarius:matrix.orgraitobezarius In cache.nixos.org, there's cache :) 02:03:02
@raitobezarius:matrix.orgraitobezarius Actually, cache.nixos.org was unavailable a lot of times 02:03:20
@raitobezarius:matrix.orgraitobezariusBut no one notice it in general02:03:23
@raitobezarius:matrix.orgraitobezariusBecause a CDN is in front of it so…02:03:36
@nh2:matrix.orgnh2I mean in Hetzner it's a standard setup to setup servers different data centers to ensure proper HA02:04:32
@raitobezarius:matrix.orgraitobezariusYes, yes, if we have the means and money02:04:49

Show newer messages


Back to Room ListRoom Version: 10