derhuerst/lossy-state-sync-stream

re-transmit chunks if no ack received

Open

#2 opened on May 30, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (0 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (No merged PRs in 30d)

Description

This will give lossy-state-sync-stream TCP-like properties, guaranteeing (eventual) sync of the state.

We reduce the lower limit on the retransmission timeout to be 50 ms instead of one second. SSH runs over TCP and rarely benefits from fast re- transmissions, meaning it generally cannot detect a dropped keystroke in less than a second.

Contributor guide