!CcTBuBritXGywOEGWJ:matrix.org

NixOS Binary Cache Self-Hosting

170 Members
About how to host a very large-scale binary cache and more58 Servers

Load older messages


SenderMessageTime
2 Mar 2024
@raitobezarius:matrix.orgraitobezariusthere's a double problem that is01:50:32
@raitobezarius:matrix.orgraitobezarius(a) AWS offers a "nice" durability metric that cannot be reproduced with a Hetzner setup01:50:45
@raitobezarius:matrix.orgraitobezarius(b) Infra people may not have the bandwidth to touch this in the next months01:50:55
@raitobezarius:matrix.orgraitobezarius(c) Foundation may not have the money/energy, when it will come to it, to go for that solution01:51:11
@raitobezarius:matrix.orgraitobezarius(actually a triple problem)01:51:16
@raitobezarius:matrix.orgraitobezariusAnother 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 data01:52:46
@nh2:matrix.orgnh2I mean for the 5k/month difference you can literally hire Ceph experts full time to run the cluster for you 01:54:25
@raitobezarius:matrix.orgraitobezariusyeah but 6K/mo not being sustainable means that even by throwing 5k/mo to hire Ceph experts full time, this won't be a viable solution, no?01:54:48
@raitobezarius:matrix.orgraitobezariusRight now, the trajectory the Foundation is taking is to launch garbage collection to reduce those 6K/mo01:55:19
@nh2:matrix.orgnh2
In reply to @raitobezarius:matrix.org
yeah but 6K/mo not being sustainable means that even by throwing 5k/mo to hire Ceph experts full time, this won't be a viable solution, no?
Until the data grows another 2 years, when it's 10k/mo
01:55:23
@raitobezarius:matrix.orgraitobezarius
In reply to @nh2:matrix.org
Until the data grows another 2 years, when it's 10k/mo
Well, given the current growth pattern, it won't need 2 years
01:55:41
@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

Show newer messages


Back to Room ListRoom Version: 10