!CcTBuBritXGywOEGWJ:matrix.org

NixOS Binary Cache Self-Hosting

175 Members
About how to host a very large-scale binary cache and more62 Servers

Load older messages


SenderMessageTime
2 Mar 2024
@delroth:delroth.netdelrothI don't have the exact breakdown, but $thousands/month22:35:14
@raitobezarius:matrix.orgraitobezariusI think it's 3K-ish22:35:22
@raitobezarius:matrix.orgraitobezariusOTOH22:35:26
@delroth:delroth.netdelrothI thought it was more22:35:29
@raitobezarius:matrix.orgraitobezariusmaybe I'm wrong, I don't have access to cost explorer22:35:38
@raitobezarius:matrix.orgraitobezariusI'm playing all those values by mind22:35:43
@raitobezarius:matrix.orgraitobezariusbut then I think we can say ≥ 3K22:35:49
@delroth:delroth.netdelroth
In reply to @raitobezarius:matrix.org
maybe I'm wrong, I don't have access to cost explorer
I have access to cost explorer but I don't think I know how to interpret it - I'm pretty sure the $9K/month discount is applied weirdly in there
22:37:34
@raitobezarius:matrix.orgraitobezariusmmm, I remember we were able to isolate the bandwidth costs without the 9K/mo there but yeah22:37:57
@raitobezarius:matrix.orgraitobezariusduring a meeting with zimbatm with the S3 folks22:38:06
@nh2:matrix.orgnh2
In reply to @delroth:delroth.net
(AFAIK nobody has made a proper call on what kind of availability target we'd like to hit, so it's hard to know what kind of HA requirements as well as staffing we'd need)
For comparison, my startup is 3 people. We run a Ceph cluster for 4 years, backing a public-facing product, and the Ceph has higher uptime / availablity than S3 in those 4 years.
In practice, only I maintain the cluster, and spend less than 2% of my working time on it.
22:38:39
@delroth:delroth.netdelrothout.png
Download out.png
22:42:38
@delroth:delroth.netdelrothpossibly pre-tax22:42:54
@delroth:delroth.netdelrothso might need to multiply by 1.2122:43:01
@raitobezarius:matrix.orgraitobezariuspre-tax22:43:01
@raitobezarius:matrix.orgraitobezariustax events happen at "point in time"22:43:06
@delroth:delroth.netdelroth(that's Jan 2024)22:43:14
@raitobezarius:matrix.orgraitobezarius(and cause a spike in the cost explorer IIRC)22:43:17
@delroth:delroth.netdelrothso if we could spend e.g. $250/month on reducing those $3500 down to $500 or so... I think we'd have a lot of space to experiment with how to handle the cold storage22:55:50
@delroth:delroth.netdelrothand I don't think it's a significant effort to get there22:56:03
@delroth:delroth.netdelrothwell, it's definitely a few months of planning and work22:56:20
@delroth:delroth.netdelrothbut it's maybe 10x less effort than a full migration away from S3?22:57:04
@delroth:delroth.netdelrothalso postpones solving the availability problem since you can failover22:57:40
@delroth:delroth.netdelroth(assuming we keep dual-writing)22:57:49
@delroth:delroth.netdelroth * (assuming we keep dual-writing, which we should)22:58:07
@nh2:matrix.orgnh2
In reply to @delroth:delroth.net
so if we could spend e.g. $250/month on reducing those $3500 down to $500 or so... I think we'd have a lot of space to experiment with how to handle the cold storage
That's a good point. Make a cheaper cluster for serving, where the costs of the additional cluster (traffic + storage) are cheaper than the S3 traffic money saved.
23:02:20
@delroth:delroth.netdelrothanother benefit is that we can use that new cache infra as an on-ramp into the more complex full S3 migration23:03:04
@delroth:delroth.netdelrothif we build it roughly how we'd build the final stack except smaller23:03:26
@delroth:delroth.netdelrothwhich has a lot of value in making people feel more comfortable with maintaining the infra long term, getting familiar with the tech stack, etc.23:03:52
3 Mar 2024
@zimbatm:numtide.comJonas Chevalier side note, but nh2: you might also be interested in joining the archivist channel with flokli and edef, where it's more about content-deduplication: #archivists:nixos.org . the volume is quite slow, but feel free to ask them questions. 12:08:27

Show newer messages


Back to Room ListRoom Version: 10