• hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 hours ago

    I host tons of open source projects on https://forge.sciactive.com/

    Recently, it was getting absolutely hounded with tons of meaningless requests. I’m assuming they are just results of AI.

    So, I put Anubis in front of it. Now images hosted there won’t load on other sites, people have to wait forever to see the code, and the experience on phones is even worse. Just because AI doesn’t respect anything, and the people who run it are too stupid to realize that.

    This is why we can’t have nice things.

    • AHemlocksLie@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 hour ago

      Just because AI doesn’t respect anything, and the people who run it are too stupid to realize that.

      They’re perfectly capable of realizing it. How do you think it got built that way? They don’t respect anything, either.

  • Zak@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 hours ago

    I host a few sites and I haven’t had a problem yet. Sure, logs suggest a majority of traffic is bots, but the cheap VPS I’m hosting on hasn’t melted so I haven’t been motivated to do anything about it.

    • Dave@piefed.nz
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 hours ago

      Lemmy is particularly susceptible. Hosting a static site with a limited number of pages is fine. But Lemmy needs to check all posts, find the votes, sort them, and compile the page. It does that for practically every page load, and so loading a page once is quite “expensive”.

      Then add on to that the almost unlimited pages of content for bots to crawl through, bots just get caught endlessly scraping pages. Even powerful servers struggle, which is why most Lemmy instances have implemented some sort of protection against bots.

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 hour ago

        It doesn’t need to. Like any similar site, it can cache a lot of that in databases like redis, or cache the rendered page in part or in whole.

      • ms.lane@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 hours ago

        Why not just use more static pages?

        4chan has been ‘static’ forever, the backend builds each page every ~15s, pages served to users are always static. It’s ‘justwerked’ for 20 years now on a shoestring.

        • rollin@piefed.social
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 hours ago

          Sounds like 4chan rolled their own server-side page cache. It probably made more sense for 4chan to do that then, back when the internet was still pretty new.

          Nowadays there are a few packages that perform a similar function, like Varnish. Varnish picks up requests from the internet and where possible, it returns the response as static HTML from its own cache.

          There are other types of caching at different stages of the request lifecycle that can reduce the gap between dynamic and static website performance.

        • Dave@piefed.nz
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 hours ago

          No it’s not, it was more of a tangential comment.

          I think this is the photography site he’s talking about.

          He mentioned “so many scrapers hit my site that it saturated my upload with generated content feeding the them.” which seemed unusual to me. I’m not sure why such a site would have a public upload. It doesn’t feel like a site that would have a technical challenge with the scrapers, but I also get the impression the main issue is the thought of hosting all his photos just for AI scrapers to train their image generation models.

  • Schwim Dandy@piefed.zip
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    7 hours ago

    If I didn’t enjoy the cat & mouse of it, I’d definitely walk away from running a site. Just out of curiosity, I created an hourly graph today showing malicious bot, legitimate bot and human ratio graphs for one of my sites. The malicious hits make up around 80% hourly and human hits are usually well under 10%.

    image

  • dieTasse@feddit.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    7 hours ago

    Yeah, internet is no longer the interesting place it used to be. Interesting, intriguing, exciting. Now it’s worse than going to a tax office… the day before taxes… On Christmas… 😂

  • lntl@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    6 hours ago

    I run a DaaS product Trace Jobs that serves job posting data.

    My expectations are pretty low and am never disappointed. Self-hosting can be pretty affordable.