You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The messages for the word 'flip' arrive in order (EventIDs starting with) b8, 2d, f9, 89 but Proceeds are issued in the order b8, 89, f9, 2d. While the first one is in its callback waiting on the DL, the others form a backlog.
I believe they must be in the same order? If not, then I believe the client needs to be smarter on this front.
Tested on both main and fix-65-dq.
The text was updated successfully, but these errors were encountered:
cursork
changed the title
Events are processed in LIFO order given a backlog of messages
Event callbacks are processed in LIFO order given a backlog of messages
Dec 2, 2024
To clarify what I meant here, I believe the two options are based on whether the client should be able to proactively queue more than one event or not:
The server must always process events in order per connection.
The client must always wait for an event response (when required) before the next event is emitted.
It is also possible to do both, as they are not mutually exclusive. However, one negates the necessity of the other, in theory.
Log of Rs and Ts:
Repro is simply:
where CBKP is just a
⎕DL 1
and nothing else.The messages for the word 'flip' arrive in order (EventIDs starting with) b8, 2d, f9, 89 but Proceeds are issued in the order b8, 89, f9, 2d. While the first one is in its callback waiting on the DL, the others form a backlog.
I believe they must be in the same order? If not, then I believe the client needs to be smarter on this front.
Tested on both main and fix-65-dq.
The text was updated successfully, but these errors were encountered: