!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

424 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.133 Servers

Load older messages


SenderMessageTime
8 May 2026
@emilazy:matrix.orgemilyI forget what the conclusion of that discussion was (I know the focus was on missing paths because of the access pattern but presumably those are not what's causing these expenses)11:11:26
@emilazy:matrix.orgemily

I guess the issue is that if it's sufficiently spread out/high cardinality no per-path caching will help.

(though it seems surprising for scrapers to be going out of their way to find old stuff to query, I really doubt N versions of the same binaries are valuable?)

11:12:57
@arianvp:matrix.orgArianMissing paths don't generate bandwidth cost. They generate API call cost. Which is small11:33:00
@emilazy:matrix.orgemilyright11:58:09
@emilazy:matrix.orgemilybut I mean if a present path is being hammered, how long does Fastly cache that before going back to S3?11:58:33
@arianvp:matrix.orgArian24h i think 11:58:46
@emilazy:matrix.orgemilyIIRC you said it was not that long?11:58:53
@emilazy:matrix.orgemilyyeah11:58:57
@emilazy:matrix.orgemilyso I wonder if just increasing that a ton would help?11:59:10
@emilazy:matrix.orgemilyI don't know how much Fastly will cache before evicting things though. but at least there's definitely no reason to evict something just because it's been a day :)11:59:59
@hexa:lossy.networkhexado you think we can get better caching than what fastly currently provides?13:13:50
@emilazy:matrix.orgemily

(not sure if you're asking me but) if it expires every 24 hours then a bot that hits a bunch of store paths every 24 hours and then repeats causes costs every day vs. potentially getting cached indefinitely if we tell Fastly there's no need to expire known store paths right?

(but obviously it's just throwing things at the wall unless it's known what the access pattern looks like. still I imagine it's good in general for e.g. the latest stable installer ISO to not get redownloaded from S3 every day?)

13:17:15
@hexa:lossy.networkhexa
Download
13:19:25
@hexa:lossy.networkhexa
Download
13:20:08
@emilazy:matrix.orgemilybut it's precisely that 5% that must be causing ^ right? 🤔13:20:50
@hexa:lossy.networkhexaat the same time13:21:00
@hexa:lossy.networkhexa
Download
13:21:02
@hexa:lossy.networkhexa
Download
13:21:22
@emilazy:matrix.orgemilyNix probably counts as "other bots"?13:21:57
@emilazy:matrix.orgemily0 DDoS requests mitigated is a fun figure13:22:14
@hexa:lossy.networkhexaI would imagine it does, since it doesn't advertise as a browser13:26:04
9 May 2026
@hexa:lossy.networkhexa Arian what's blocking https://github.com/NixOS/infra/pull/728 12:17:45
@arianvp:matrix.orgArianADHD mostly 12:24:01
@arianvp:matrix.orgArianI keep forgetting i was doing this12:24:09
@arianvp:matrix.orgArianOnly thing I'm a bit afraid of is that if we actually have people scraping old paths intelligent tiering might actually be more expensive because things get moved into more expensive tiers... But idk I think we should just apply and observe for a month. 13:48:08
@arianvp:matrix.orgArianWorst case is we revert 13:48:13
@hexa:lossy.networkhexayeah, we can't know without trying13:55:45
@hexa:lossy.networkhexaif things go to shit, what's next? gc?13:55:59
@lassulus:lassul.uslassuluswe do the cache exfil anyway? so maybe gc? or we get more free credits from aws. but there are multiple ideas floating around what happens if the egress costs eat up the free credits we get from amazon. would not worry too much about it for now13:58:00
@lassulus:lassul.uslassulusI opushed https://github.com/NixOS/infra/pull/728 I would be happy to deploy it, but not sure if I have the right credentials :D13:58:29

Show newer messages


Back to Room ListRoom Version: 6