• Artistan@lemmy.world
    link
    fedilink
    English
    arrow-up
    42
    ·
    1 year ago

    It almost sounds like an excuse for Reddit to “revert” the site back and restore the site to pre-blackout state…

  • LemmyAtem@beehaw.org
    link
    fedilink
    English
    arrow-up
    41
    ·
    1 year ago

    I find it interesting that so many subs going private caused issues with the entire site. I’m not a programmer/tech person, but I don’t really understand why that would happen. Did it just create a bandwidth bottle neck or something as users flooded non-blacked out subs?

    • Nibodhika@lemmy.world
      link
      fedilink
      English
      arrow-up
      48
      ·
      1 year ago

      I’m a backend server programmer, and although I have never worked on resdit I can imagine the conversation a few years back:

      Dev A: How do we implement private? Should each post have a private flag or do we join on the subreddit to get it?

      Dev B: that join might be heavy for the front page since we might have several different subreddits, a flag in each post is faster.

      Dev A: But that means that whenever a subreddit goes private we need to flag all of the posts there

      Dev B: yeah, but that doesn’t happen often, the front page gets accessed millions of times, most subreddits never change status, especially larger ones.

      Dev A: I guess you’re right, even a large subreddit will be done in minutes, what are the odds of several large subreddits going private at the same time?

    • Gollum@feddit.de
      link
      fedilink
      English
      arrow-up
      26
      ·
      1 year ago

      We don’t know what switching a sub to private, will trigger on their backend. Maybe there is some internal shifting of data somewhere, or something similar to this. Doing this, on a lot of the big subs, could lead to large-scale performance issues.

      • LemmyAtem@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Interesting/fascinating. I have no idea how development works, but it’s interesting to me to see the impact. Someone else mentioned that it could be resource allocation locking up too, which makes sense when I think about it more. A subreddit with subscribers in the millions would need more resources allocated to it due to the increased demand, so if they’re suddenly unavailable I can kind of understand why/how that would creat issues. All very neat.

        • sugar_in_your_tea
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I’m a backend developer and have to deal with this nonsense at my job. There are lots of options, each with tradeoffs, such as:

          • rely on checking at the subreddit level - this means that every time you access a page, you need to check whether the subreddit is private, which means slower page loads
          • include the flag on every post - flipping between private and public can be very expensive on the server
          • embed some info in the URL - breaks links when switching back and forth and is also expensive, but you can cut down on some checks (e.g. no database hit for most checks; i.e. if it’s private and you aren’t logged in, you cannot access it)

          And if you go for one of the two last options, you can reduce the hit when switching by being eventually consistent, meaning you don’t change everything all at once but instead set the flag or change the URL in batches over a period of time. That takes effort to get right, and there’s going to be inconsistency until everything is done.

          So there are multiple ways to do it, and each way has a big chance at devs messing something up when they don’t consider something like a bunch of subreddits going private all at once.

          Or it could just be a run of the mill DDOS because some redditors wanted to troll Reddit.

      • b0son@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        If you read the article there’s a quote that distinctly mentions unexpected issues not planned maintenance.

          • Azzu@feddit.de
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 year ago

            I mean in this case, you can decide between some theory based on no information at all but unaffiliated, or based on all information but biased.

            There’s still a good chance that the downtime is unexpected, downtime in general is never good for a site that earns money by people being on it.

            So I think the “unexpected” case is still more likely than it being intentional.

    • jonne@infosec.pub
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      1 year ago

      Maybe they optimised the site to have certain servers allocated to the bigger subs, and with them all going dark it screwed with that balance or something?

    • kakes
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      1 year ago

      I would guess it’s the influx of traffic from all the news coverage, combined with people repeatedly refreshing thinking the site is “broken.”

      • VeryAmaze@vlemmy.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        I’d imagine that would be offset by all the people who are redditing much less because most of the subs they frequent are private?

        • kakes
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I would imagine this also, honestly.

    • TAG@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      Maybe an issue on the back end skipping over all of the new private subs? I assume that many of the big subs had popular posts just before they went private, so the server has to spend more time skipping over private posts when rendering popular?

    • Trizza Tethis
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      The theory is that the way Reddit caches its subreddit content for the front page didn’t jive with a bajillion subs being gone all at once when America woke up this morning.

    • mshade@beehaw.org
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 year ago

      The errors reddit has been throwing aren’t limited to cloudflare error codes - the site is also returning errors directly. And cloudflare’s outage doesn’t seem to be around their core CDN service, just other features.

  • WatTyler@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    My word, I figured it had to be a coincidence. I hope some of the fat-cat stakeholders are starting to catch wind and sweat at all this MSM coverage.

    • Trizza Tethis
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 year ago

      Nope, as it was at least partially available it was supposedly determined to be a consequence of the mass privatization of subreddits.

      The theory I heard was that the way Reddit caches its subreddits for the front page didn’t jive well with so many subs going private all at once.

  • Obi@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I swear the post from /r/pics had 118k upvotes and then suddenly 7/8k…