Skip Navigation

User banner
Posts
127
Comments
598
Joined
2 yr. ago

  • I miss the days when the internet was populated largely by nerds aiming to make a better world

    The BBS and early Internet days were dominated by people who read non-fiction books. RTFM was a common saying in those days.

    does anyone else feel enslaved?

    “Everything in our background has prepared us to know and resist a prison when the gates begin to close around us . . . But what if there are no cries of anguish to be heard? Who is prepared to take arms against a sea of amusements? To whom do we complain, and when, and in what tone of voice, when serious discourse dissolves into giggles? What is the antidote to a culture’s being drained by laughter?”
    Neil Postman
    Amusing Ourselves to Death

  • randomly send alerts to users

    typically you make yourself moderator of a community or as admin of a site you can feature a post, make it appear at the top of the listing

  • (which created rows of that magnitude for updates does sound like federation messages outbound to me)

    rows=1675 from lemmy.ca here: https://github.com/LemmyNet/lemmy/issues/3165#issuecomment-1646673946

    It was not about outbound federation messages. It was about counting the number of comments and posts for the sidebar on the right of lemmy-ui to show statistics about the content. site_aggregates is about counting.

  • The issue isn't who fixed it it, the issue is the lack of testing to find these bugs. It was there for years before anyone noticed it was hammering PostgreSQL on every new comment and post to update data that the code never read back.

    There have been multiple data overrun situations, wasting server resources.

  • @Raisin8659@monyet.cc

    because I mentioned myself?

    I will create one more that isn't a reply so it isn't just a reply notification

  • Right Now

    Working, this comment time

  • Fresh as of comment time:

  • What if instead of doing 3 things each time you posted a comment, it did 1300 things. And it did the same for everyone else posting a comment.

    Yes, that is what was happening in Lemmy before lemmy.ca called it out with AUTO_EXPLAIN PostgeSQL on Saturday, 8 days ago.

  • Latest, at the time of this comment: still over 4 SECONDS

  • huh?

    Please explain in detail what "huh" means in this context.

    As I said in the comment you replied to: do you know of the history of site_aggregates PostgreSQL table?

  • What are you asking for? lemmy.ml is the official developers server, and it crashes constantly, every 10 minutes it ERROR out, for 65 days in a row.

  • No. Care to explain please?

    On Saturday July 22, 2023... the SysOp of Lemmy.ca got so frustrated with constant overload crashes they cloned their PostgreSQL database and ran AUTO_EXPLAIN on it. They found 1675 rows being written to disk (missive I/O, PostgreSQL WAL activity) for every single UPDATE SQL to a comment/post. They shared details on Github and the PostgreSQL TRIGGER that Lemmy 0.18.2 and earlier had was scrutinized.

  • Do you know of the site_aggregates federation TRIGGER issue lemmy.ca exposed?