Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Technical Discussion
  3. Federating servers

Federating servers

Scheduled Pinned Locked Moved Technical Discussion
39 Posts 9 Posters 5 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • evanE This user is from outside of this forum
    evanE This user is from outside of this forum
    evan
    wrote on last edited by
    #1

    So, one part of the popular imagination about ActivityPub I've seen is the idea of server federation.

    I think the idea is that if two servers have interacted in some way, all (?) public (?) content from one server will be sent to the other server, and vice versa.

    This comes up a lot with new servers; people ask to have a post shared broadly so that their server rubs shoulders with others, getting the federated feed flow going.

    ActivityPub does in fact have a mechanism defined for this:

    > 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.

    As far as I've seen, most (?) servers don't implement this; it would overwhelm small servers pretty quickly.

    However, some (?) servers do implement it for some (?) activities, especially profile update and delete activities.

    Is this the origin of the idea that new servers need to have their content shared around? Are people misunderstanding the way that relays work? Is it just a trick to get your content shared?

    Michael πŸ‡ΊπŸ‡¦H 1 Reply Last reply
    0
    • evanE This user is from outside of this forum
      evanE This user is from outside of this forum
      evan
      wrote on last edited by
      #2

      Another possibility is that when someone asks to have their content shared, that will result in a few Follow requests, which does result in their future content being distributed to other servers (and public content goes to Fediverse and hashtag feeds).

      So, it seems like the sharing is what got the distribution going, even though it is indirect (sharing causes following causes appearing in the Fediverse feed).

      Johanna, CanCon varietyJ infinite love β΄³T 2 Replies Last reply
      0
      • evanE evan

        Another possibility is that when someone asks to have their content shared, that will result in a few Follow requests, which does result in their future content being distributed to other servers (and public content goes to Fediverse and hashtag feeds).

        So, it seems like the sharing is what got the distribution going, even though it is indirect (sharing causes following causes appearing in the Fediverse feed).

        Johanna, CanCon varietyJ This user is from outside of this forum
        Johanna, CanCon varietyJ This user is from outside of this forum
        Johanna, CanCon variety
        wrote on last edited by
        #3

        @evan I think - reviewed it given that you corrected my misapprehension the other day - that other than for those who live'n'breathe protocol, the nitty-gritty details are really not spelled out in the platform documentation for users or admins.

        Or even those of us who understand enough to read along (I did remember that I "knew" this, just not that expert in expressing), it's more detail than we can articulate when there's a new user or instance showing up.

        1 Reply Last reply
        0
        • RimuR This user is from outside of this forum
          RimuR This user is from outside of this forum
          Rimu
          wrote on last edited by
          #4

          In FEP 1b12, that is what occurs (most of the time) - as soon as an instance has a dozen users their interests will be varied enough that almost every active community in the threadiverse is subscribed to and they'll be receiving almost all the traffic.

          It works out ok at our current scale (small).

          1 Reply Last reply
          0
          • evanE evan

            Another possibility is that when someone asks to have their content shared, that will result in a few Follow requests, which does result in their future content being distributed to other servers (and public content goes to Fediverse and hashtag feeds).

            So, it seems like the sharing is what got the distribution going, even though it is indirect (sharing causes following causes appearing in the Fediverse feed).

            infinite love β΄³T This user is from outside of this forum
            infinite love β΄³T This user is from outside of this forum
            infinite love β΄³
            wrote on last edited by
            #5

            @evan in the Mastodon sphere, boosting a post has these side effects:

            - servers that receive the boost will now be aware that the boosted post exists. if it contains hashtags, then that post might show up in hashtag timelines/searches and the home timelines of anyone following that hashtag.
            - servers will also be aware that the author of the boosted post exists. their profile can appear in search results based on their account's name/summary.
            -- (in the future, their outbox might be backfilled)

            1 Reply Last reply
            0
            • evanE evan

              Another possibility is that when someone asks to have their content shared, that will result in a few Follow requests, which does result in their future content being distributed to other servers (and public content goes to Fediverse and hashtag feeds).

              So, it seems like the sharing is what got the distribution going, even though it is indirect (sharing causes following causes appearing in the Fediverse feed).

              julianJ This user is from outside of this forum
              julianJ This user is from outside of this forum
              julian
              wrote on last edited by
              #6

              @evan personally I think "server federation" is best achieved through relays.

              The distribution model fits best, and the technology already exists, even if not broadly implemented.

              One could be able to plug a server instance actor in to subscribe to its relay.

              evanE 1 Reply Last reply
              0
              • julianJ julian

                @evan personally I think "server federation" is best achieved through relays.

                The distribution model fits best, and the technology already exists, even if not broadly implemented.

                One could be able to plug a server instance actor in to subscribe to its relay.

                evanE This user is from outside of this forum
                evanE This user is from outside of this forum
                evan
                wrote on last edited by
                #7

                @julian yes, I agree. This is a different idea -- that somehow interaction between actors on different servers will make their servers connect and share data. It's incorrect, but it's interesting.

                1 Reply Last reply
                0
                • evanE evan

                  @julian yes, I agree. This is a different idea -- that somehow interaction between actors on different servers will make their servers connect and share data. It's incorrect, but it's interesting.

                  julianJ This user is from outside of this forum
                  julianJ This user is from outside of this forum
                  julian
                  wrote on last edited by
                  #8

                  @evan oh I see what you mean... that a server merely discovers another, and that kickstarts a mutual sharing of activities.

                  I'm afraid that would be a bit of a scaling challenge 😁

                  evanE 1 Reply Last reply
                  0
                  • julianJ julian

                    @evan oh I see what you mean... that a server merely discovers another, and that kickstarts a mutual sharing of activities.

                    I'm afraid that would be a bit of a scaling challenge 😁

                    evanE This user is from outside of this forum
                    evanE This user is from outside of this forum
                    evan
                    wrote on last edited by
                    #9

                    @julian here's an example I found with a search:

                    https://f.bumblebee.systems/@bumblebee/113834766747645985

                    evanE 1 Reply Last reply
                    0
                    • evanE evan

                      @julian here's an example I found with a search:

                      https://f.bumblebee.systems/@bumblebee/113834766747645985

                      evanE This user is from outside of this forum
                      evanE This user is from outside of this forum
                      evan
                      wrote on last edited by
                      #10

                      Here's another:

                      https://mstdn.kevinthetechguy.ca/@kevinlovestech/112873393455953967

                      1 Reply Last reply
                      0
                      • evanE This user is from outside of this forum
                        evanE This user is from outside of this forum
                        evan
                        wrote on last edited by
                        #11

                        @silverpill@mitra.social really? How does it work?

                        1 Reply Last reply
                        0
                        • evanE evan

                          @silverpill@mitra.social really? How does it work?

                          julianJ This user is from outside of this forum
                          julianJ This user is from outside of this forum
                          julian
                          wrote on last edited by
                          #12

                          Does it use the relay method? I always thought that if I implemented something like that I'd be the first. Cool to know Pleroma already supports.

                          1 Reply Last reply
                          0
                          • julianJ This user is from outside of this forum
                            julianJ This user is from outside of this forum
                            julian
                            wrote on last edited by
                            #13

                            That makes sense.

                            When I implemented the Litepub style relay logic I figured it would immediately work the same way as well (since two-way relay communication uses the Follow-Accept flow as well.)

                            It did not work immediately with NodeBB, have yet to figure out why 😏

                            1 Reply Last reply
                            0
                            • evanE evan

                              So, one part of the popular imagination about ActivityPub I've seen is the idea of server federation.

                              I think the idea is that if two servers have interacted in some way, all (?) public (?) content from one server will be sent to the other server, and vice versa.

                              This comes up a lot with new servers; people ask to have a post shared broadly so that their server rubs shoulders with others, getting the federated feed flow going.

                              ActivityPub does in fact have a mechanism defined for this:

                              > 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.

                              As far as I've seen, most (?) servers don't implement this; it would overwhelm small servers pretty quickly.

                              However, some (?) servers do implement it for some (?) activities, especially profile update and delete activities.

                              Is this the origin of the idea that new servers need to have their content shared around? Are people misunderstanding the way that relays work? Is it just a trick to get your content shared?

                              Michael πŸ‡ΊπŸ‡¦H This user is from outside of this forum
                              Michael πŸ‡ΊπŸ‡¦H This user is from outside of this forum
                              Michael πŸ‡ΊπŸ‡¦
                              wrote last edited by
                              #14

                              @evan At Friendica we have a third way. When configured, we distribute posts to other servers that subscribed to the hashtags that the item contains.

                              But anyway: I would like to have got something like the AppView in the Atmosphere. Means: not a dumb relay but something like tags.pub, but much more sophisticated.

                              julianJ 1 Reply Last reply
                              1
                              0
                              • R AodeRelay shared this topic
                              • Michael πŸ‡ΊπŸ‡¦H Michael πŸ‡ΊπŸ‡¦

                                @evan At Friendica we have a third way. When configured, we distribute posts to other servers that subscribed to the hashtags that the item contains.

                                But anyway: I would like to have got something like the AppView in the Atmosphere. Means: not a dumb relay but something like tags.pub, but much more sophisticated.

                                julianJ This user is from outside of this forum
                                julianJ This user is from outside of this forum
                                julian
                                wrote last edited by
                                #15

                                @heluecht@pirati.ca like a public firehose of sorts?

                                Suppose there's no reason why not, you would just get yelled at constantly for "scraping" posts.

                                1 Reply Last reply
                                1
                                0
                                • R AodeRelay shared this topic
                                • julianJ This user is from outside of this forum
                                  julianJ This user is from outside of this forum
                                  julian
                                  wrote last edited by
                                  #16

                                  @i@declin.eu @silverpill@mitra.social @evan NodeBB now also ships with /actor that can be followed. It will act as a relay <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=7e3567dc339" title="πŸ‘" />

                                  1 Reply Last reply
                                  1
                                  0
                                  • Michael πŸ‡ΊπŸ‡¦H This user is from outside of this forum
                                    Michael πŸ‡ΊπŸ‡¦H This user is from outside of this forum
                                    Michael πŸ‡ΊπŸ‡¦
                                    wrote last edited by
                                    #17

                                    @julian To which point do you refer? For my first mentioned one we have got a special document at .well-known/x-social-relay that every Friendica server publishes that contains information about the subscribed hash tags.

                                    And concerning the second point, I imagine some relay service that does not simply forward everything, but that knows which content you you are interested in. So when you subscribed to user A and user B posted something in a thread that user A started, then the relay would forward it to you, although you never subscribed to B. And when then the account B got deleted or blocked, then of course you would be notified as well.

                                    silverpillS 1 Reply Last reply
                                    1
                                    0
                                    • Michael πŸ‡ΊπŸ‡¦H Michael πŸ‡ΊπŸ‡¦

                                      @julian To which point do you refer? For my first mentioned one we have got a special document at .well-known/x-social-relay that every Friendica server publishes that contains information about the subscribed hash tags.

                                      And concerning the second point, I imagine some relay service that does not simply forward everything, but that knows which content you you are interested in. So when you subscribed to user A and user B posted something in a thread that user A started, then the relay would forward it to you, although you never subscribed to B. And when then the account B got deleted or blocked, then of course you would be notified as well.

                                      silverpillS This user is from outside of this forum
                                      silverpillS This user is from outside of this forum
                                      silverpill
                                      wrote last edited by
                                      #18

                                      @heluecht @julian

                                      This can be done with inbox forwarding or special activities (FEP-171b or FEP-1b12).

                                      Selective relays may be used for other things though. There is https://github.com/dtp-mstdn-jp/selective-relay that apparently can filter activities by hashtags, domains and number of attachments

                                      Michael πŸ‡ΊπŸ‡¦H 1 Reply Last reply
                                      1
                                      0
                                      • silverpillS silverpill

                                        @heluecht @julian

                                        This can be done with inbox forwarding or special activities (FEP-171b or FEP-1b12).

                                        Selective relays may be used for other things though. There is https://github.com/dtp-mstdn-jp/selective-relay that apparently can filter activities by hashtags, domains and number of attachments

                                        Michael πŸ‡ΊπŸ‡¦H This user is from outside of this forum
                                        Michael πŸ‡ΊπŸ‡¦H This user is from outside of this forum
                                        Michael πŸ‡ΊπŸ‡¦
                                        wrote last edited by
                                        #19
                                        @silverpill @julian Currently there is no ActivityPub relay available that could do what Atmosphere's AppView is capable of.
                                        silverpillS 1 Reply Last reply
                                        1
                                        0
                                        • Michael πŸ‡ΊπŸ‡¦H Michael πŸ‡ΊπŸ‡¦
                                          @silverpill @julian Currently there is no ActivityPub relay available that could do what Atmosphere's AppView is capable of.
                                          silverpillS This user is from outside of this forum
                                          silverpillS This user is from outside of this forum
                                          silverpill
                                          wrote last edited by
                                          #20

                                          @heluecht @julian I concur, but what capabilities you're interested in?
                                          Almost everything in ActivityPub could be done peer to peer, without a relay in the middle.

                                          Michael πŸ‡ΊπŸ‡¦H 1 Reply Last reply
                                          1
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better πŸ’—

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups