this post was submitted on 01 Jul 2023
365 points (98.4% liked)

Programming.dev Meta

2474 readers
2 users here now

Welcome to the Programming.Dev meta community!

This is a community for discussing things about programming.dev itself. Things like announcements, site help posts, site questions, etc. are all welcome here.

Links

Credits

founded 1 year ago
MODERATORS
 

I've gone and made accounts of a handful of Lemmy instances, all of them larger, more popular ones.

... and I can't access any of them directly today, likely due to the influx of users from Reddit.

Programming.dev is alive and well though.

you are viewing a single comment's thread
view the rest of the comments
[–] jim@programming.dev 27 points 1 year ago (2 children)

Yep, though federation syncing is really slowing down. This post from !technology@beehaw.org is at 44 comments from programming.dev but 112 comments on the beehaw instance.

[–] PR_freak@vlemmy.net 7 points 1 year ago (1 children)

So the "true" state of a post is always in it's instance of origin

[–] JackbyDev@programming.dev 9 points 1 year ago (2 children)

No, federation is directional, so even if everything synced perfectly and instantly it wouldn't be the true version. Take this example. There is an instance that is federated with no one, but every instance is federated with it. Every other instance would see everything there but the instance it is hosted on wouldn't see any. There's no reason to say the version hosted there is the true one when it lacks so much of the conversation.

Also comments can lag when syncing to the main instance in the same way they can lag coming from the main one. All you can really say is that when viewing a post on an instance it has the true version of all of that instance's users comments.

[–] PR_freak@vlemmy.net 1 points 1 year ago

Thank you! Really easy to understand

[–] PR_freak@vlemmy.net 1 points 1 year ago (3 children)

Thank you! Really easy to understand

Let me ask you another question, where are my comments stored? Are they only in my instance or are they elsewhere too?

Lets say i comment on a post from my instance, if someone from another instance sees the post will il be replicated in their instances database?

What if i comment on another instances post? Will my comment be stored in the other instance database or in mine?

What if i delete a comment/post? Am i guaranteed in Will be deleted everywhere?

[–] JackbyDev@programming.dev 4 points 1 year ago

My understanding is that everything you do is first stored on your instance and then makes its way to instances that are federated with yours. I'm not sure about the specifics of it or deletion though. I haven't doved into the spec. Because it is called ActivityPub I bet it is the "pubsub" (publisher subscriber) pattern where other instances subscribe (federate) to be published to but it might not work like that.

This is why when you're the first user on an instance to subscribe to a community from another instance that no one on your instance has subscribed to yet it is somewhat more of an involved process because your instance was not getting anything from that community before and needs to start. I'm still new to this myself and basing it off stuff I've read people say who may also be wrong themselves though.

[–] V4uban@lemmy.world 1 points 1 year ago

I guess that's because Beehaw is still 17.4?