!CcTBuBritXGywOEGWJ:matrix.org

NixOS Binary Cache Self-Hosting

172 Members
About how to host a very large-scale binary cache and more59 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 Mar 2024
@raitobezarius:matrix.orgraitobezarius so assuming we do have the hardware, this is a compelling option and if we offer a proper complete proposal to the foundation and operations make sense and infrastructure agrees to it, it could be adopted I guess 02:18:24
@raitobezarius:matrix.orgraitobezarius * so assuming we do have the hardware, this is a compelling option and if we offer a proper complete proposal to the foundation and operations make sense and infrastructure folks agrees to it, it could be adopted I guess 02:18:30
@raitobezarius:matrix.orgraitobezariusand to give an example of hardware costs, I guess a netapp de6600 60x3.5" could cost something like 800EUR, you can fit 60×20TB disk in there, so 1.2PB raw capacity, 60 disks of 20TB will cost approximately 440€*60 ~ 26.4K EUR at list price, obviously, so something like 27K EUR, this can be spread over the 2 locations to avoid having 1.2PB × 2 needlessly (and the rest can be filled as the cache grows organically)02:24:08
@raitobezarius:matrix.orgraitobezariusI'm ignoring server costs because honestly you can find a R730 in a trash bin, put enough SAS cards and plug the JBOD in02:24:30
@raitobezarius:matrix.orgraitobezariustough question is whether flash is needed at all or not02:24:41
@raitobezarius:matrix.orgraitobezariusif so, this can add 5K-20K to the proposal02:24:55
@raitobezarius:matrix.orgraitobezariusactually hetzner seems to have proper connection options: https://docs.hetzner.com/robot/colocation/pricing02:32:47
@raitobezarius:matrix.orgraitobezariusthey were just hidden02:32:48
@delroth:delroth.netdelroth joined the room.19:19:47
@misuzu:matrix.orgmisuzu joined the room.19:27:04
@redblueflame:matrix.orgredblueflame joined the room.20:15:52
@olafklingt:matrix.orgolaf joined the room.20:59:00
@thubrecht:matrix.orgthubrecht joined the room.21:12:45
@nh2:matrix.orgnh2

raitobezarius: Thanks for the hardware info.
For completeness and comparison, the way one would usually set up Ceph for HA is multiple servers in multiple Hetzner datacenters (a Hetzner "DC" is a physically separate, but still walking distance, building with its own independent backup power supply; so roughly equivalent to an AWS Availability Zone "AZ").
So for 6=4+2 Erasure Coding, with the DC as failure domain, one would need 6 servers, one per DC.
This EC has only 1.66x storage overhead while supporting 2 losses.
One would usually put 10 Gbit/s networking in between those; for Hetzner-rented servers that costs 40 EUR/month per 10 Gbit/s link, and also provides 10 Gbit/s to the Internet.

With a single 60-disk megaserver with 1 Gbit/s link, you'd likely bottleneck on bandwidth immediately if many people use it.
For archiving old store paths, that matters less.

22:14:38
@raitobezarius:matrix.orgraitobezarius(technically AWS AZ have minimum distance between each other, contrary to other clouds definitions of "AZs", e.g. GCP AFAIK)22:15:29
@raitobezarius:matrix.orgraitobezarius(but that's just my pedantic brain)22:15:39
@nh2:matrix.orgnh2 raitobezarius: That's not pedantic, it's a perfectly valid topic. When the OVH fire happened, the DCs were so close that the fire could spread from one to the next.
At that time, I checked it for Hetzner. My assessment from the photos is that a fire is unlikely to spread between Hetzner DCs, but the fire brigade might still shut down the whole DC park if one catches fire. So you'd have risk of downtime, but not loss.
22:18:48
@raitobezarius:matrix.orgraitobezariusYeah, the more I look at it, the more I like the rented idea because it enables also smoother ramp up22:19:44
@delroth:delroth.netdelroththere's also some potential value in the foundation not having to manage assets, as opposed to operational costs22:22:39
@raitobezarius:matrix.orgraitobezariusah fun fact btw https://lists.debian.org/debian-snapshot/2024/02/msg00003.html22:23:22
@raitobezarius:matrix.orgraitobezarius olasd told me "this is what happens when you have 17 architectures used by 3 persons" when I pinged him about that hexa :D 22:23:54
@delroth:delroth.netdelroth

also copying what I was saying on the #dev channel to make sure we have everything in one history:

we've had discussions about this in the past and came up to roughly the same cost estimates, the main issue is the big mindset change in having the current set of infra volunteers be in charge of the reliability of fairly complex infra directly in the main user query path. As much as I hate S3, nobody here has to be oncall for when it's down :)

(it doesn't disqualify a self-hosting solution, but uh, it's hard to have proper cost estimates that don't include a potential "we need to pay someone to be fulltime oncall")

22:24:45
@delroth:delroth.netdelroth *

also copying what I was saying on the #dev channel to make sure we have everything in one history:

we've had discussions about this in the past and came up to roughly the same cost estimates, the main issue is the big mindset change in having the current set of infra volunteers be in charge of the reliability of fairly complex infra directly in the main user query path. As much as I hate S3, nobody here has to be oncall for when it's down :)

(it doesn't disqualify a self-hosting solution, but uh, it's hard to have proper cost estimates that don't include a potential "we need to pay someone to be fulltime oncall")

22:24:49
@delroth:delroth.netdelroth *

also copying what I was saying on the #dev channel to make sure we have everything in one history:

we've had discussions about this in the past and came up to roughly the same cost estimates, the main issue is the big mindset change in having the current set of infra volunteers be in charge of the reliability of fairly complex infra directly in the main user query path. As much as I hate S3, nobody here has to be oncall for when it's down :)

(it doesn't disqualify a self-hosting solution, but uh, it's hard to have proper cost estimates that don't include a potential "we need to pay someone to be fulltime oncall")

22:25:00

Show newer messages


Back to Room ListRoom Version: 10