this post was submitted on 08 Mar 2025
23 points (100.0% liked)
Lemmy.ca's Main Community
3174 readers
8 users here now
Welcome to the lemmy.ca/c/main community!
All new users on lemmy.ca are automatically subscribed to this community, so this is the place to read announcements, make suggestions, and chat about the goings-on of lemmy.ca.
For support requests specific to lemmy.ca, you can use !lemmy_ca_support@lemmy.ca.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If I can ramble a bit more - forget the Anycast bit. If you run your own DNS server(s), you can just configure them to respond based on the geographic location of the requester. PowerDNS is pretty easy to set up for this. You could run your own DNS just for the image domain. You basically run PowerDNS authoritative server, set up your zones and the geoip stuff, then slap dnsdist in front of it to be publicly exposed. dnsdist has anti-DDoS features and loadbalancing in it, in case you need it down the road.
Since it's just for static images, you can have a higher TTL so you don't need to worry about distributing the DNS servers. (ie. the DNS lookup might not be super fast since it could go across the country, but it doesn't matter since that lookup is only going to happen every TTL period on each client, which can be high.)
With an sre team sure, but there's a difference between the amount of infra I'm willing to setup vs what I want to maintain and be responsible for on my own. I could set this up, spend money on VPS and have something that's difficult for anyone else to maintain.
Or I could just turn on cloudflare.
I'm am expert with all the tech you mentioned, but I'm trying to avoid a complex setup where if I got hit by a bus my fellow admins would struggle to maintain things.
I totally understand. It sucks that there's not really any options in between these two extremes.