• 0 Posts
  • 14 Comments
Joined 3 months ago
cake
Cake day: March 24th, 2024

help-circle





  • It should be noted that the (visibility of) community bans are a result of better enforcement of site bans in 0.19.4, which for now is implemented by sending out community bans for local communities when a user gets instance banned: https://github.com/LemmyNet/lemmy/pull/4464

    Prior to this, when a user got instance banned from .ml, they were also implicitly banned from .ml communities, but this was only known to the instance they were banned on. As a result, users were still able to post, comment, and vote on those communities, but it would be visible only on that user’s instance, not federated anywhere else. Visibility of this ban was exclusively on the banning instance’s modlog.

    fyi @SpaceCadet@feddit.nl






  • lemmy currently only sends one activity per receiving instance at a time, so there is a round trip for every single post, comment, vote, etc., before the next activity will be sent. you wouldn’t see any increased number of connections, as there’s only a single one.

    do you have access logs for /inbox with the lemmy.world’s user agent? you might be able to derive some information from that if requests increased over time or something, maybe also response status codes?


  • I can’t tell you why you’re lagging but you’re clearly lagging quite a bit behind.

    which country is your instance located in?
    did you (or someone else on your instance) recently subscribe to a bunch of high traffic communities on lemmy.world, which would make lemmy.world send more activities to you?

    lemmy by default only sends activities in a community to another instance if there’s at least one subscriber to the community on that instance. if you’re located far from finland, where lemmy.world is located, you might have been able to keep up just enough before this, although this isn’t the first time as the graphs above show.



  • records can’t be duplicated in the database, the activity id is a unique key:

    lemmy=# \d sent_activity
                                                   Table "public.sent_activity"
               Column            |           Type           | Collation | Nullable |                  Default
    -----------------------------+--------------------------+-----------+----------+-------------------------------------------
     id                          | bigint                   |           | not null | nextval('sent_activity_id_seq'::regclass)
     ap_id                       | text                     |           | not null |
     data                        | json                     |           | not null |
     sensitive                   | boolean                  |           | not null |
     published                   | timestamp with time zone |           | not null | now()
     send_inboxes                | text[]                   |           | not null |
     send_community_followers_of | integer                  |           |          |
     send_all_instances          | boolean                  |           | not null |
     actor_type                  | actor_type_enum          |           | not null |
     actor_apub_id               | text                     |           |          |
    Indexes:
        "sent_activity_pkey" PRIMARY KEY, btree (id)
        "sent_activity_ap_id_key" UNIQUE CONSTRAINT, btree (ap_id)