Skip to content

packet loss detection and timeout retransmission mechanism for theia browser #13869

Answered by msujew
lqd1434 asked this question in Improvements
Discussion options

You must be logged in to vote

Hey @lqd1434,

since the network stack of Theia is built on TCP (HTTP/Websocket), the protocol already ensures on a low level that packets arrive. Meaning that there's already a retransmission mechanism in place. I don't think our network infrastructure is capable of exposing this low level information.

The only way to identify that the network connection is bad is by waiting for the socket.io ping to timeout - which takes 30 seconds. In that case the application will go into offline mode which will be indicated to the user in the status bar of the app.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lqd1434
Comment options

Answer selected by lqd1434
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants