this post was submitted on 08 Jul 2023
5 points (100.0% liked)
Mastodon
1848 readers
1 users here now
The project: https://github.com/mastodon/mastodon
Mastodon instance affiliated with Lemmy.World: https://mastodon.world
Discuss the Mastodon platform here. Follow the lemmy.world rules.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sure, I mean consistent in the following sense: will updates be eventually propagated even if the receiving server is throwing errors and/or is unreachable for some time? Do servers sync up?
Yea, so my understanding is that activity pub, the protocol used by mastadon (and lemmy) is serviced by queues, perhaps those like Kafka. Those sort of queues promise eventual consistency, which means when one goes offline, the queue is stored on the other, waiting until the other is online, in which case it resumes where the disconnected server last left off.
In principle, yes. Lemmy, for now, only stores updates in memory, so if something goes wrong, they can easily go missing. How does Mastodon do it? I guess I'm asking about the implementation. I'm not familiar with Ruby...
Ahh, I can’t help with actual implementation. Sorry!