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
Add client and server ts information to websocket messages to surface websocket latency issues (#40827)
This PR adds the `clientTs` to the initial websocket connect message, which the sync worker uses to calculate the `client_clock_skew`, which is the difference between the client clock and server clock, plus whatever latency between client sending and server receiving the message.
We send the latest possible `serverTs` before the server `Transition` message gets sent down to the client. On the client, we can then understand how long it took for the `Transition` message to download by comparing the current client time with the `serverTs` and subtracting the `clientClockSkew`.
GitOrigin-RevId: 9b8d2693a40196a78ee08aa3e2f49c695d0172d0
0 commit comments