It gets DDOSed because after the boost, all the subscribers’ instances are calling it to retrieve the content?
Do you think a load balancer might help?
Comment on Delusions of a Protocol
wisdomchicken@piefed.social 3 weeks agoi ddos my wordpress-activitypub-enabled website every time i boost a post made from there to my 10k followers. tried every single caching plugin for it as well.
activitypub scaling is a very real issue
It gets DDOSed because after the boost, all the subscribers’ instances are calling it to retrieve the content?
Do you think a load balancer might help?
OP would have to have their wordpress site running on multiple instances to leverage that. It would work, but now they are paying for more infrastructure.
Yes, but those could be just “read instances” spinned up by a peak in requests at load balancer. Not running all the time
Fair point
Cloudflare caching can solve this. Cache based on the user agent.
poVoq@slrpnk.net 3 weeks ago
ActivityPub is designed to scale well for millions of users with a low number of subscribers each (dunbars number and so on). It is not designed as a mass media publishing tool where a few have tens of thousands or even millions of followers.
I consider this a feature, but feel free to disagree.