• cosmicbytes@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I thought the point of a CDN is that its available at edge locations. Do you have multiple servers geographically dispersed? If so, can you explain what else makes it a CDN?

    Sorry if my comment comes off as snarky, when I read it, it sounds like that, but I promise it is not my intention!

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 months ago

      All good. I do, I have 2 geographically separated load balancers that do edge caching for images on my screenshot site. The 2 load balancers are anycasted(I have my own ARIN address space) so clients are routed to the nearest PoP based on AS Path. Maybe one day I’ll add more PoPs but I only setup 2 as otherwise it’ll get kinda expensive for my personal screenshot website for little to no gain. It was mainly a, I want to setup my own CDN, rather than anything practical. I will say, when loading the home page while signed in you can SEE the load time differences in the cached images vs private images which are flagged to bypass the edge cache so it does work.