You must log in or # to comment.
Amazing blog post! Been reading the ActivityPub spec and found it rather lacking. It’s only when you add WebFinger and signed messages that things start to make sense.
And a followup question: wouldn’t it be more efficient for big instances to use WebSockets to federate? Making a HTTP request for every action your users take seems unnecessarily wasteful.
I think that would only work when the number of instances is small. Two solutions to this might be:
- have instances act like relays where the home instance of a community notifies 10 instances and then each of those instances notifies 10 instances, etc.
- batch updates on a timer such that once a minute all posts, comments, boosts, etc within a minutes are buffered and sent together.
Yeah it’s definitely very busy in terms of the amount of requests that’s get made. I’m not handling a bunch of them that I don’t need but there’s shitloads all the time.