• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2024

help-circle


  • The problem starts when the federated room size grows to >500 people (or just 20-30 people with E2E). Servers starts shitting their pants, missing syncs, which leads to “room splits” (i.e. one group of servers accepts one event as “the latest”, another group of servers accepts another, they can’t reconcile this into a shared linear history, so they start rejecting events from the other group and everyone ends up missing messages from half of room participants). With E2E rooms there are often OLM session desyncs which lead to “Can’t decrypt message” errors which can sometimes be fixed if there are other participants currently online to share the new session keys with you, but otherwise you’re screwed and just can’t read anything in that room anymore.

    However, as far as I know this is just software bugs, the underlying protocol is actually fine. However, those bugs are really difficult to pinpoint and fix, because they’re the raciest of race conditions involving multiple servers in a decentralized network handling thousands of events.