Logical clock
-
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?
-
R AodeRelay shared this topic on
-
@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.
-
Good idea (esp. the optional). Do we know other protocols in the W3C space, that use this already?
-
@lobingera As far as I can tell, no other W3C protocols use logical clocks.
-
R AodeRelay shared this topic
-
I added a FEP today: https://codeberg.org/fediverse/fep/pulls/945
-
@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 …
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