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. #ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?

#ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?

Scheduled Pinned Locked Moved Technical Discussion
activitypubsoftwareopensourcemastodon
1 Cross-posts 5 Posts 3 Posters 2 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.
  • dusoft@fosstodon.orgD This user is from outside of this forum
    dusoft@fosstodon.orgD This user is from outside of this forum
    dusoft@fosstodon.org
    wrote last edited by
    #1

    #ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?

    #software #opensource #mastodon

    julian@activitypub.spaceJ silverpill@mitra.socialS 2 Replies Last reply
    0
    • dusoft@fosstodon.orgD dusoft@fosstodon.org

      #ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?

      #software #opensource #mastodon

      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.space
      wrote last edited by
      #2

      @dusoft@fosstodon.org I don't think there is consensus on this particular point. Each implementation does their own handling.

      e.g. Lemmy will queue messages for delivery forever (probably), but will place your instance on a "do not deliver" list for some time if delivery failures reach a certain threshold.

      NodeBB's is more naive, it will try delivering per an exponential backoff forever, too.

      dusoft@fosstodon.orgD 1 Reply Last reply
      0
      • julian@activitypub.spaceJ julian@activitypub.space

        @dusoft@fosstodon.org I don't think there is consensus on this particular point. Each implementation does their own handling.

        e.g. Lemmy will queue messages for delivery forever (probably), but will place your instance on a "do not deliver" list for some time if delivery failures reach a certain threshold.

        NodeBB's is more naive, it will try delivering per an exponential backoff forever, too.

        dusoft@fosstodon.orgD This user is from outside of this forum
        dusoft@fosstodon.orgD This user is from outside of this forum
        dusoft@fosstodon.org
        wrote last edited by
        #3

        @julian That's helpful, thanks. I have implemented pruning, because all requests in the end have some costs. Of course, I could handle it also in softer way, e.g. 7 day grace period, then no-delivery list, then retry after 30 days... Then further incremental backoff.

        1 Reply Last reply
        0
        • dusoft@fosstodon.orgD dusoft@fosstodon.org

          #ActivityPub question - is it OK to run pruning of dead inboxes (target nodes for delivery) after grace period of e.g. 7 days when transport failures occur repeatedly (timeout, SSL, DNS, redirect loop, unresolvable host), 400, 404, 410, all 5xx)?

          #software #opensource #mastodon

          silverpill@mitra.socialS This user is from outside of this forum
          silverpill@mitra.socialS This user is from outside of this forum
          silverpill@mitra.social
          wrote last edited by
          #4

          @dusoft It is OK to prune but I think the period of 7 days is too short. The server admin might be on a vacation.

          dusoft@fosstodon.orgD 1 Reply Last reply
          0
          • silverpill@mitra.socialS silverpill@mitra.social

            @dusoft It is OK to prune but I think the period of 7 days is too short. The server admin might be on a vacation.

            dusoft@fosstodon.orgD This user is from outside of this forum
            dusoft@fosstodon.orgD This user is from outside of this forum
            dusoft@fosstodon.org
            wrote last edited by
            #5

            @silverpill I think I'll make it configurable.

            1 Reply Last reply
            1
            • ? [[global:guest]] crossposted this topic to General Discussion

            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