Incoming messages can be out-of-order #2

Closed
opened 2021-04-16 18:44:42 -04:00 by fair · 1 comment
Owner

When receiving many live messages at once (not from a backfill), the messages may get bridged out-of-order.

It seems this happens because each incoming message is handled via a separate IPC call, and no ordering is enforced between IPC calls.

Handling all received messages via a single bulk IPC call might help, but that wouldn't solve ordering issues between multiple bulk calls.

Portals should use some kind of synchronization to ensure that it doesn't bridge received messages out-of-order.

When receiving many live messages at once (not from a backfill), the messages may get bridged out-of-order. It seems this happens because each incoming message is handled via a separate IPC call, and no ordering is enforced between IPC calls. Handling all received messages via a single bulk IPC call might help, but that wouldn't solve ordering issues between multiple bulk calls. Portals should use some kind of synchronization to ensure that it doesn't bridge received messages out-of-order.
Author
Owner

Hopefully fixed by 0ce6b833e3.

Hopefully fixed by 0ce6b833e3.
fair closed this issue 2021-04-21 02:39:56 -04:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fair/matrix-puppeteer-line#2
No description provided.