Post 1372016 by veer66@toot.veer66.rocks
(DIR) More posts by veer66@toot.veer66.rocks
(DIR) Post #1368011 by veer66@toot.veer66.rocks
2018-11-21T08:26:49.172331Z
0 likes, 0 repeats
In, #ActivityPub server-to-server communication, a server read outbox of another server periodically? Or is there any event for triggering this? Or I'm totally wrong?
(DIR) Post #1371336 by mariusor@mastodon.xyz
2018-11-21T11:08:44Z
1 likes, 1 repeats
@veer66 Why do you think you need to periodically check another server's outbox? If you're a server, theoretically you only care about what arrives in your inbox.
(DIR) Post #1371377 by veer66@toot.veer66.rocks
2018-11-21T11:59:42.721995Z
0 likes, 0 repeats
@mariusor Another server knows which inbox to deliver from follower collections, doesn't it?
(DIR) Post #1371937 by mariusor@mastodon.xyz
2018-11-21T12:10:15Z
1 likes, 1 repeats
@veer66 In short, the server that has a local activity created by one of its actors retrieves the actors that the activity is addressed to, and adds their inboxes to a list, performs a normalization on that list (we don't want to send twice to the same inbox) and then delivers to each of them a copy of the activity with a corresponding authentication mechanism.For more details see the spec: [1] https://www.w3.org/TR/activitypub/#delivery [2] https://www.w3.org/TR/activitystreams-vocabulary/#audienceTargeting
(DIR) Post #1371962 by veer66@toot.veer66.rocks
2018-11-21T12:28:50.555185Z
0 likes, 0 repeats
@mariusor Thank you. Actually I read the spec last night but I didn't understand. Your explanation helps making it clearer.
(DIR) Post #1371963 by mariusor@mastodon.xyz
2018-11-21T12:11:27Z
1 likes, 1 repeats
@veer66 for some more fancy normalization, a server might remove individual actors' inboxes that have a "sharedInbox" that matches another element in the addressing list.
(DIR) Post #1372016 by veer66@toot.veer66.rocks
2018-11-21T12:32:23.544163Z
0 likes, 0 repeats
@mariusor This is very important. So there is no need to send many duplicated activities from server to server, isn't it?