AP-verwerking trekt forum naar beneden?

Hey guys, if this is causing serious issues, I would note there a number of tools already in the plugin a community admin can use for this kind of scenario.

  1. There is comprehensive logging, including object logging, you can use to determine the source of any troublesome actors.

    • activity_pub_verbose_logging
    • activity_pub_object_logging
  2. The inbox and object retrieval has rate limiting and site settings you can use to control the rate at which requests are made.

    • activity_pub_rate_limit_post_to_inbox_per_minute
    • activity_pub_rate_limit_get_objects_per_minute
  3. There are site settings you can use for allowlist and blocklist of domains.

    • activity_pub_allowed_request_origins
    • activity_pub_blocked_request_origins
  4. There are admin actions you can use to “Reject” follows from problematic followers.

Furthermore, the amount of activity a server can handle is going to be relative to the resources of a server. Something which I won’t have visibility over.

@aschrijver I’d start with resources. What are the resources of the server? What exactly is being overloaded? I can’t even load socialhub.activitypub.rocks at all at the moment. I suspect there is a more fundamental issue with resource usage.

Then, my second question would be where the requests are coming from? You can figure this out with the logs. Then add any domains you’re getting a lot of requests from to activity_pub_blocked_request_origins.

If we’ve used those existing levers first, and we’re still seeing performance issues, then we can look at other potential causes.

2 likes