I’ve been running my self-hosted one user Pleroma (like Mastodon) instance. When I discovered Lemmy I started following some communities from it and also posted some comments.

Since then lemmy.ml makes one request per second to my /inbox url.

Can someone who knows ActivityPub explain why is necessary one request per second always? What are all these POST requests for?

On top of that, is there any way to tell a server or a relay to stop sending information to my inbox? Like if for example I followed someone in that server, but I don’t follow them anymore, is there any way to tell the remote server to stop? If I start returning a 403 or something like that will it stop?

  • pnutzh4x0r@lemmy.ndlug.org
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    POSTs are how federation works (ActivityPub is a Push-based protocol). When you “subscribe” to a community on say lemmy.ml, you are telling it to periodically send you updates about that community. This comes in the form of POSTS.

    As to the frequency of the POSTs, I can imagine something like lemmy.ml having a lot of activity that it needs to inform your instance of (new votes, new comments, new posts, etc)… but I’m not sure if one request per second is reasonable or not.

    • namelivia@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I haven’t inspected the content of the requests though, I just saw them on my proxy logs. It may be worth checking. Thanks!

  • wethegreenpeople@sopuli.xyz
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    That’s just how federation works. You’ve federated with an instance/user so now your self hosted instance will be updated.

    Is there a reason you’re concerned about the requests? The payloads should be relatively small, and unless you’re running on some really old hardware, one request a second with a small payload should not have any noticeable impact.

    • namelivia@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yeah I’m always running my self-hosted projects on the smallest and cheapest VPC I can find. But apart from flooding my logs I haven’t noticed anything else being too much affected by this. I’m currently improving the observability of my system though, so who knows.

      I was just a little concerned. Thanks for answering!