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

Logical clock

Scheduled Pinned Locked Moved Technical Discussion
6 Posts 4 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.
  • 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

    Would it be helpful to add an (optional) logical clock mechanism to ActivityPub?

    https://en.wikipedia.org/wiki/Logical_clock

    For example, to handle Delete before Create or Undo before the activity being undone?

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

      @evan I suppose it would be a helpful data point if one were implemented.

      For example, if every activity pertaining to a specific object were given an increasing counter recorded separately <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=4459463b5a0" title="🤷" />

      So long as it's standardized in some way, I don't see any reason why this would interfere with regular federation.

      1 Reply Last reply
      1
      0
      • L This user is from outside of this forum
        L This user is from outside of this forum
        lobingera
        wrote on last edited by
        #3

        Good idea (esp. the optional). Do we know other protocols in the W3C space, that use this already?

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

          @lobingera As far as I can tell, no other W3C protocols use logical clocks.

          1 Reply Last reply
          1
          0
          • R AodeRelay shared this topic
          • evanE This user is from outside of this forum
            evanE This user is from outside of this forum
            evan
            wrote last edited by
            #5

            I added a FEP today: https://codeberg.org/fediverse/fep/pulls/945

            1 Reply Last reply
            1
            0
            • Sebastian LasseS This user is from outside of this forum
              Sebastian LasseS This user is from outside of this forum
              Sebastian Lasse
              wrote last edited by
              #6

              @evan

              @hongminhee
              just btw,
              long time ago sent a playground for deno/kv where I used `ulid` within the Activity Ids to achieve this.
              There is above FEP now …

              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