Heh, I really have to find out how to not DoS myself whenever a blog article gets pushed via #ActivityPub đ€
8 thoughts on “”
Leave a Reply
Heh, I really have to find out how to not DoS myself whenever a blog article gets pushed via #ActivityPub đ€
@beko Same here(WP-AP plugin). Apache says it is DDoS from my reverse proxy and federation fails.
@beko Same! Iâve been experimenting with NGINX microcaching and a couple overall NGINX and PHP tweaks. Itâll occasionally feel slow, still, but no more crashes. (Or if it does, it comes back up on its own.) Iâm still mostly preloading the front-end cache, so that isnât as much of an issue. The problem is my (âActivityPubâ) posts being boosted or replied to, and it mostly affects uncached pages, so the impact to anonymous visitors is small-ish (I hope).
@beko Hehe, just boosted your post, then clicked the link. Took maybe like 5â10 seconds to load (which is exactly the kind of thing Iâm talking about, or at least I think it is) đ€
Heh yeah đ TBF I’m not kidding when I write: This is a backyard hosted website on 2nd hand hardware, which means it sometimes goes offline. Please hold the line đ€
@beko https://mastodon.social/@hyc/111178941734994879
Think it’s more the amount. There’s more to this than just pushing the note. Federated servers also check version and actor and some other things before pre-fetching images and content. This is quickly enough to saturate a small server on a land-line on 2nd hand hardware đ
Didn’t have this sort of trouble when hosting in a data centre but this is simply too expensive nowadays and really enough for the “regular” visitors.
@janboddez @beko well frak, seems the reply didn't make it.
@bekopharm Yeah, weird. I searched for it just now and it popped up on my instance that way. đ But the plugin doesnât reschedule failed jobs, so if, e.g., WP-Cron times out or the POST request fails because the receiving server is temporarily down, well âŠ đ€· @beko