# Delivery

**URL:** <https://socialhub.activitypub.rocks/t/delivery/1694>\
**Category:** ActivityPub\
**Created:** [May 3, 2021, 1:32pm UTC](https://socialhub.activitypub.rocks/t/delivery/1694 "2021-05-03T13:32:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![naturzukunft](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/naturzukunft/32/983_2.png) [@naturzukunft](https://socialhub.activitypub.rocks/u/naturzukunft)\
**Post date:** [May 3, 2021, 1:32pm UTC](https://socialhub.activitypub.rocks/t/delivery/1694/1 "2021-05-03T13:32:41Z")

</div>

I’m a little bit confused by:

### 6.11 Delivery

Federated servers _MUST_ perform delivery on all Activities posted to the **outbox** according to [outbox delivery](https://www.w3.org/TR/activitypub/#outbox-delivery).

### 7.1 Delivery

_The following is required by federated servers communicating with other federated servers only._

I understand it like this:  
if only C2S is implemented, then there is no delivery between actors.  
And that sounds strange, doesn’t it? Why should there be no delivery without federation?

---

<div class="post-metadata">

**Author:** ![cjs](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/cjs/32/584_2.png) [@cjs](https://socialhub.activitypub.rocks/u/cjs)\
**Post date:** [May 3, 2021, 1:37pm UTC](https://socialhub.activitypub.rocks/t/delivery/1694/2 "2021-05-03T13:37:19Z")

</div>

If the client is a stateful actor, and different servers are providing different specific capabilities (ex: a calendar, a budget planner, a sleep tracker), then having a Client that successfully interoperates with each Server without having to implement a different REST API means the client is free to choose other methods to interact with the outside world – it could be ActivityPub federation (in which the “C” in C2S could also be the “S” in S2S or only federating public calendar view of the actor, the “S” in C2S also being the “S” in S2S) or something else.

This C2S thinking was the original impetus for ActivityPub, and S2S was the second thought. Which is inverted to today’s landscape.

---

<div class="post-metadata">

**Author:** ![naturzukunft](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/naturzukunft/32/983_2.png) [@naturzukunft](https://socialhub.activitypub.rocks/u/naturzukunft)\
**Post date:** [May 3, 2021, 1:44pm UTC](https://socialhub.activitypub.rocks/t/delivery/1694/3 "2021-05-03T13:44:26Z")

</div>

ok, that sounds exciting. Maybe the view of activityPub is a bit different for all of us. I plan to implement an activityPub server and not a server that “only” speaks activityPub. That’s probably what makes it so complicated for me. So I want to cover as many useCases as possible on the server and not specialise. and if there are things that are not possible, the server should be extendable.

For now, I think I will handle each new activity in each servers outbox in a federated way and also do the http delivery for actors, that are on the same server.

---

<div class="post-metadata">

**Author:** ![naturzukunft](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/naturzukunft/32/983_2.png) [@naturzukunft](https://socialhub.activitypub.rocks/u/naturzukunft)\
**Post date:** [May 3, 2021, 3:34pm UTC](https://socialhub.activitypub.rocks/t/delivery/1694/4 "2021-05-03T15:34:03Z")

</div>

If Jane@serverA sends a message to her followers and her followers collection contains 100 Actors from serverB, so serverB receives 100 HTTP Request? Or did I read something over?

---

<div class="post-metadata">

**Author:** ![cjs](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/cjs/32/584_2.png) [@cjs](https://socialhub.activitypub.rocks/u/cjs)\
**Post date:** [May 3, 2021, 9:22pm UTC](https://socialhub.activitypub.rocks/t/delivery/1694/5 "2021-05-03T21:22:31Z")

</div>

Yep. There’s _a_ solution available in the form of `sharedInbox` but that breaks the Actor model.

---

<div class="post-metadata">

**Author:** ![naturzukunft](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/naturzukunft/32/983_2.png) [@naturzukunft](https://socialhub.activitypub.rocks/u/naturzukunft)\
**Post date:** [May 4, 2021, 4:01am UTC](https://socialhub.activitypub.rocks/t/delivery/1694/6 "2021-05-04T04:01:16Z")

</div>

I will mark a received activity as “already received” and manage the internal delivery myself. Do you see any problems? I would then only actually process one http request and ignore others.
