!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
15 Feb 2024
@zimbatm:numtide.comJonas Chevalierhttps://github.com/cid-chan/peerix maybe? I haven't tested it out yet09:08:38
@zimbatm:numtide.comJonas Chevalieror setup https://github.com/nix-community/harmonia on each node and configure the caches if they are static?09:10:28
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @hexa:lossy.network
I have four remote builders. Is there a simple way to have them share their store between each other for substitutiion?
I think adding the others to substituters as ssh-ng stores would work, but I'm not sure how well (might perform terribly)
11:53:30
@hexa:lossy.networkhexathanks! peerix sounds like the simplest solution, if it (still) works?12:03:38
@hexa:lossy.networkhexa * thanks! peerix sounds like the simplest solution, if it (still) works.12:03:40
@hexa:lossy.networkhexabut seems to suffer from timeouts12:04:42
@a-kenji:matrix.orga-kenji joined the room.19:15:09
19 Feb 2024
@rhizomes:matrix.orgrhizomes joined the room.04:28:19
20 Feb 2024
@sofo:matrix.orgSofie changed their display name from Sofi to Sofie.07:39:16
@sofo:matrix.orgSofie changed their profile picture.14:39:13
@sofo:matrix.orgSofie changed their profile picture.14:41:03
@sofo:matrix.orgSofie changed their profile picture.14:42:35
@sofo:matrix.orgSofie changed their profile picture.14:43:54
23 Feb 2024
@whentze:matrix.orgWanja Hentze joined the room.12:22:33
@dritonr:matrix.orgdritonr joined the room.12:27:33
29 Feb 2024
@kip93:matrix.orgkip93 joined the room.14:33:52
1 Mar 2024
@patka_123:matrix.orgpatka joined the room.08:10:16
@fgaz:matrix.orgfgaz joined the room.09:27:14
2 Mar 2024
@nh2:matrix.orgnh2 joined the room.01:42:07
@nh2:matrix.orgnh2

raitobezarius: OK I joined. Copying my message from the other channel, for context for others:

You were looking at dedicated-hosting the binary cache regarding the AWS cost sink. I run 1 PB of CephFS clusters on Hetzner, and can set that up quite easily with NixOps. Do you want to team up on this topic?

My feeling is we could Host the 500 TB of binary cache on 6x SX134 servers (960 TB raw), with EC 4+2, which provides 580 TB HA storage. With 10 Gbit/s Internet.

For 6 * 245 = 1470 EUR/month.

To transfer out, with AWS Snowball: If we can content-deduplicate the 500 TB by factor 2x to 250 GB (using attic or bupstash as shown on https://github.com/NixOS/nixpkgs/issues/89380) the one-off cost to ship to Germany would be ~12k EUR or so.

01:46:11
@raitobezarius:matrix.orgraitobezariusYes, so the problem is that the Foundation doesn't have 1470EUR/mo01:46:27
@raitobezarius:matrix.orgraitobezariusEven if we offsetted the Snowball, it's further unclear01:46:48
@raitobezarius:matrix.orgraitobezarius(plus, discussing with Hetzner to do the operations)01:47:01
@raitobezarius:matrix.orgraitobezarius(BTW, infra people just removed NixOps — finally — :D — but I guess anything modern as deployment framework can work)01:47:28
@nh2:matrix.orgnh2 raitobezarius: what is the latest discourse post that shows the current spending on hosting and how much of that AWS gives us for free? 01:47:38
@raitobezarius:matrix.orgraitobezarius
In reply to @nh2:matrix.org
raitobezarius: what is the latest discourse post that shows the current spending on hosting and how much of that AWS gives us for free?
cache is 15K USD/mo
01:47:51
@raitobezarius:matrix.orgraitobezarius9K of it is free credit from AWS01:47:57
@raitobezarius:matrix.orgraitobezarius6K of it is out of our own pocket01:48:02
@nh2:matrix.orgnh2So I guess "the Foundation doesn't have 1470EUR/mo" is referring to "... on top of the AWS spending, vs instead of it"?01:48:48
@raitobezarius:matrix.orgraitobezariusI'd need to jump again in the finances to look at all of that01:49:37

Show newer messages


Back to Room ListRoom Version: 10