Does ActivityPub send those to other instances, or does ActivityPub only send the original post and the rest (upvotes, downvotes, replies) are stored only on the original server where the post was made?
Does ActivityPub send those to other instances, or does ActivityPub only send the original post and the rest (upvotes, downvotes, replies) are stored only on the original server where the post was made?
Yeah. A lot of hand-wringing has gone on about it, e.g. https://gist.github.com/jdarcy/60107fe4e653819138396257df302eef. I’ll post this and then show you a video of server activity that results.
Demo post
Here is a screencast of what happens to my 2 core server when I post something - https://kglitch.social/activitypub_cpu_and_net.mp4.
I run a single user instance, more or less, so there is little chance of some other user causing this load.
Some of it will be due to the way Kbin is built but I believe any software using ActivityPub to communicate will run into similar issues sooner or later, especially with network traffic usage.
Damn that’s crazy. Thanks for the demo
Completly off-topic, but what’s that dope af htop replacement?
btop!
It’s very pretty.
Looks like btop
What the fuckkk haha this is crazy. Hold on. I’m testing it on my instance now, let’s see if Lemmy acts differently
Okay, didn’t happen to me at all :(
https://static.lemmy.org.il/activitypub.mp4
Interesting, that’s hardly noticeable. Perhaps your instance has less federation relationships happening than mine, or something.
That’s certainly possible. My instance has been malfunctioning for a while, and I only got to wipe it two weeks ago, so perhaps its domain got blacklisted or shadowbanned or just lowered in priority by the scanning instances. Or something. X_X