On 12 July 2010 21:04, Dave Cridland <[email protected]> wrote: > On Mon Jul 12 18:25:32 2010, Bruce Campbell wrote: >>
> Of course, this is being very 3G-centric... If we're talking HF radio, where > you have a very low banwidth half-duplex link, then expecting your peer to > ack within a minute is pretty optimistic because it'll take 30 seconds to > turn around the modems. And if you're over a LAN, then really, you just ack > everything within a few ms. > Amen. And I'll make the observation that all your above considerations took into account only time passed, and not the number of stanzas since the last ack. While I agree that there are numerous other factors involved (not least of all the network) I think the unacked stanza count should be switched for a time-based algorithm. Perhaps something along the lines of the BOSH timeout handshake (C: I want to go this long, S: I want to go this long, both use smallest). Matthew
