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
{{ message }}
Repository navigation
How should a client pick its server/time reply timeout? #356
A client waits for each server/time reply before sending the next client/time, but a reply can get lost, for example when a server discards requests during a re-handshake. I'm letting clients move on after a timeout they choose, but I'm not sure what that timeout should be, since bursts also have to start no more than 10 seconds apart.
Current implementations:
sendspin-cpp: next burst 10 s after the previous one ends, 10 s reply timeout. One lost reply pushes the next burst start to about 20 s.
sendspin-dotnet: same as sendspin-cpp once synced, 500 ms after the previous burst ends while converging.
sendspin-js: bursts start every 9 s, 2 s reply timeout that drops the rest of the burst. The next burst still starts on time, but the dropped one feeds the filter nothing.
Should the 10 seconds count from the end of the previous burst instead?
For: a client with a long timeout no longer breaks the rule after a lost reply. That isn't a real problem today though, since a server can't close the connection over a client's burst timing.
Against: bursts get less frequent exactly when the network is worse, since that's when the long timeouts happen.
How would 10 seconds from the end of the previous burst work? Are you saying a client should send bursts every 10 seconds regardless if they a reply in the previous burst timed out? I'm fine with that actually, with one additional clarification. If a burst has a timed out reply, the data from that burst should just be dropped and the filter shouldn't update for it.
Activity
Define clock sync convergence and missing burst replies (#357)
kahrendt commentedon Nov 11, 2026
How would 10 seconds from the end of the previous burst work? Are you saying a client should send bursts every 10 seconds regardless if they a reply in the previous burst timed out? I'm fine with that actually, with one additional clarification. If a burst has a timed out reply, the data from that burst should just be dropped and the filter shouldn't update for it.