What are you thoughts about this?

@[email protected]
link
fedilink
English
362Y

I’m not sure ActivityPub is suitable for implementation of Lemmy/Kbin. ActivityPub seems to be a push (with retry) protocol, where if a message gets lost, the protocol doesn’t seem to have a means to recover synchronization. Theoretically, instances could verify synchronization on a periodic basis, but that would be a massive increase in traffic.

@[email protected]
link
fedilink
English
62Y

I haven’t looked at the specs but it is similar to UDP vs TCP?

@[email protected]
link
fedilink
English
82Y

Kind of. My observed behavior of Lemmy, combined with comments from some developers (I haven’t read the code):

Post goes up on community hosted on instance A, Message goes out to B and C: “here’s a new post”

User x@B comments on post. Message goes from B to A saying “here’s a new comment”. A adds the comment, then sends a message to C “here’s a new comment”

User y@C upvotes the comment. Message goes from C to A, then A sends a message to C.

Each of those messages are confirmed by the recipient, and there are timed retries. However, there have been plenty of cases where one of those messages get lost, and the communities get out of sync. As I understand it, the message traffic is only changes. They don’t talk to each other to see what the current state of the content is. So whenever a sync break happens, it is permanent. New content/changes are fine, but stuff that gets lost in transit is lost for good.

@[email protected]
link
fedilink
English
42Y

that makes sense

federation between kbin.social and my instance lemmy.sdf.org seems to be awful and I couldn’t tell where the breakdown was occurring because the issue is intermittent/partial federation

I’m not a web developer so I can’t really say what solutions are best, but I have faith there are people smarter than me working on robust solutions

@[email protected]
link
fedilink
English
42Y

At least for Lemmy, you can “force” it to sync a particular post or comment by pasting the url into your instance’s search bar.

@[email protected]
link
fedilink
English
32Y

Interesting - TIL. I wonder how Lemmy resolves the post #, since it is different between instances, and if it re-syncs comments when you do that. The post # thing is annoying, btw, because it makes it impossible to use relative links in posts/comments.

@[email protected]
link
fedilink
English
52Y

Agreed, matrix seems like a far more sensible protocol for federated forums.

Create a post

A community to talk about the Fediverse and all it’s related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

  • Posts must be on topic.
  • Be respectful of others.
  • Cite the sources used for graphs and other statistics.
  • Follow the general Lemmy.world rules.

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

  • 1 user online
  • 134 users / day
  • 2 users / week
  • 158 users / month
  • 647 users / 6 months
  • 0 subscribers
  • 389 Posts
  • 12.9K Comments
  • Modlog