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 (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Technical Discussion
  3. Remote Inbox Architecture

Remote Inbox Architecture

Scheduled Pinned Locked Moved Technical Discussion
activitypubactivitystreamsfedidevremoteinbox
1 Cross-posts 8 Posts 4 Posters 0 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.
  • reiver@mastodon.socialR This user is from outside of this forum
    reiver@mastodon.socialR This user is from outside of this forum
    reiver@mastodon.social
    wrote last edited by
    #1

    Remote Inbox Architecture

    1/

    This, the Remote Inbox Architecture, is an architecture for a Fediverse back-end server that I think could be useful.

    Here is how it works — there are (at least) 2 servers involved: (1) the main back-end server, and (2) a remote inbox server.

    The actor file on main back-end server "points" the inbox to the remote server.

    It separates the user's content front the front-end related functionality

    ...

    #ActivityPub #ActivityStreams #FediDev #RemoteInbox

    reiver@mastodon.socialR guysoft@hayu.shG 2 Replies Last reply
    0
    • ? Guest crossposted this topic to General Discussion
    • reiver@mastodon.socialR reiver@mastodon.social

      Remote Inbox Architecture

      1/

      This, the Remote Inbox Architecture, is an architecture for a Fediverse back-end server that I think could be useful.

      Here is how it works — there are (at least) 2 servers involved: (1) the main back-end server, and (2) a remote inbox server.

      The actor file on main back-end server "points" the inbox to the remote server.

      It separates the user's content front the front-end related functionality

      ...

      #ActivityPub #ActivityStreams #FediDev #RemoteInbox

      reiver@mastodon.socialR This user is from outside of this forum
      reiver@mastodon.socialR This user is from outside of this forum
      reiver@mastodon.social
      wrote last edited by
      #2

      Remote Inbox Architecture

      2/

      The Remote Inbox server deals with incoming activities, objects, etc, from other users..

      The front-end can get the inbox (and other feeds') data from the Remote Inbox server.

      (You'd probably want to store cached data from the Fediverse elsewhere from these two servers, as I've said before. But, that is a separate thread.)

      #ActivityPub #ActivityStreams #FediDev #RemoteInbox

      darius@friend.campD 1 Reply Last reply
      0
      • reiver@mastodon.socialR reiver@mastodon.social

        Remote Inbox Architecture

        2/

        The Remote Inbox server deals with incoming activities, objects, etc, from other users..

        The front-end can get the inbox (and other feeds') data from the Remote Inbox server.

        (You'd probably want to store cached data from the Fediverse elsewhere from these two servers, as I've said before. But, that is a separate thread.)

        #ActivityPub #ActivityStreams #FediDev #RemoteInbox

        darius@friend.campD This user is from outside of this forum
        darius@friend.campD This user is from outside of this forum
        darius@friend.camp
        wrote last edited by
        #3

        @reiver interesting. shouldn't the outbox be on (2)? In theory that is a place to get content and feeds from

        reiver@mastodon.socialR 1 Reply Last reply
        0
        • darius@friend.campD darius@friend.camp

          @reiver interesting. shouldn't the outbox be on (2)? In theory that is a place to get content and feeds from

          reiver@mastodon.socialR This user is from outside of this forum
          reiver@mastodon.socialR This user is from outside of this forum
          reiver@mastodon.social
          wrote last edited by
          #4

          @darius

          Not for this (Remote Inbox) architecture.

          The outbox is related to the user's content, so it stays with where the user's content is.

          jamie@zomglol.wtfJ darius@friend.campD 2 Replies Last reply
          0
          • reiver@mastodon.socialR reiver@mastodon.social

            @darius

            Not for this (Remote Inbox) architecture.

            The outbox is related to the user's content, so it stays with where the user's content is.

            jamie@zomglol.wtfJ This user is from outside of this forum
            jamie@zomglol.wtfJ This user is from outside of this forum
            jamie@zomglol.wtf
            wrote last edited by
            #5

            RE: https://zomglol.wtf/@jamie/111038100520197521

            @reiver @darius Can confirm. I did this a couple years ago using an S3 (well, DigitalOcean Spaces) bucket that stored static JSON and an "ActivityPub concierge" that manages it. The outbox was part of that static JSON.

            Thread about it here:

            jamie@zomglol.wtfJ 1 Reply Last reply
            0
            • jamie@zomglol.wtfJ jamie@zomglol.wtf

              RE: https://zomglol.wtf/@jamie/111038100520197521

              @reiver @darius Can confirm. I did this a couple years ago using an S3 (well, DigitalOcean Spaces) bucket that stored static JSON and an "ActivityPub concierge" that manages it. The outbox was part of that static JSON.

              Thread about it here:

              jamie@zomglol.wtfJ This user is from outside of this forum
              jamie@zomglol.wtfJ This user is from outside of this forum
              jamie@zomglol.wtf
              wrote last edited by
              #6

              @reiver @darius My favorite part of that experiment is that the AP inbox server is no longer online (it was just an ngrok tunnel) but that bucket still serves all the data.

              So even though the "inbox server" disappeared, my identity and posts are all still there.

              1 Reply Last reply
              0
              • reiver@mastodon.socialR reiver@mastodon.social

                @darius

                Not for this (Remote Inbox) architecture.

                The outbox is related to the user's content, so it stays with where the user's content is.

                darius@friend.campD This user is from outside of this forum
                darius@friend.campD This user is from outside of this forum
                darius@friend.camp
                wrote last edited by
                #7

                @reiver I see - the statement "It separates the user's content front the front-end related functionality" is confusing to me but I understand the intent now

                1 Reply Last reply
                0
                • reiver@mastodon.socialR reiver@mastodon.social

                  Remote Inbox Architecture

                  1/

                  This, the Remote Inbox Architecture, is an architecture for a Fediverse back-end server that I think could be useful.

                  Here is how it works — there are (at least) 2 servers involved: (1) the main back-end server, and (2) a remote inbox server.

                  The actor file on main back-end server "points" the inbox to the remote server.

                  It separates the user's content front the front-end related functionality

                  ...

                  #ActivityPub #ActivityStreams #FediDev #RemoteInbox

                  guysoft@hayu.shG This user is from outside of this forum
                  guysoft@hayu.shG This user is from outside of this forum
                  guysoft@hayu.sh
                  wrote last edited by
                  #8

                  I think that is already achievable with the current spec, the inbox can be a URL to anywhere in the actor object:

                  https://www.w3.org/TR/activitypub/#actor-objects

                    "inbox": "https://kenzoishii.example.com/inbox.json",
                  

                  This can be any url with any domain

                  1 Reply Last reply
                  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