w3c / activitypub

http://w3c.github.io/activitypub/
Other
1.25k stars 78 forks source link

Delivery of public content to sharedInbox #484

Open evanp opened 5 days ago

evanp commented 5 days ago

ActivityPub says in section 7.1.3:

Additionally, if an object is addressed to the Public special collection, a server MAY deliver that object to all known sharedInbox endpoints on the network.

This can have the effect that servers which implement sharedInbox endpoints to reduce traffic will get much, much more traffic from public posts of popular servers.

The mechanism for allowing delivery of an activity to all addressees on a single server should be separate from the mechanism for receiving all public activities from a remote server. Combining the two takes a network optimization and make it into a firehose; the exact opposite effect than intended.

evanp commented 5 days ago

I think the best next step here is to define an endpoint that is only for delivering to all addressees at once. Implementers that don't want to receive a firehose to sharedInbox can skip it, and implement to the multipleAddresseeInbox instead.

github-actions[bot] commented 5 days ago

This issue has been labelled as potentially needing a FEP, and contributors are welcome to submit a FEP on the topic. Note that issues may be closed without the FEP being created; that does not mean that the FEP is no longer needed.

evanp commented 5 days ago

FEP 0499 provides a similar mechanism to the one described.

trwnh commented 5 days ago

There are some related paths forward here: