IMP all studnets please read ! [Csci551-talk] Assumption: When to
start timeout
Affan, Syed
asyed at usc.edu
Tue Apr 26 12:34:06 PDT 2005
Sorry for the delayed response but it was a good question and needed
some thought.
The correct approach has got to be to start timer as soon as you buffer
the packet. But the log time should be when it is actually sent. I know
this can create pathological scenarios, but this is most realistic and
we can test your implementation through simpler scenarios :)
Thanks.
Affan
>>>>-----Original Message-----
>>>>From: csci551-talk-bounces at mailman.isi.edu
>>>>[mailto:csci551-talk-bounces at mailman.isi.edu] On Behalf Of Michael
>>>>Stephens
>>>>Sent: Sunday, April 24, 2005 7:33 PM
>>>>To: csci551-talk at ISI.EDU
>>>>Subject: [Csci551-talk] Assumption: When to start timeout
>>>>
>>>>
>>>>I assume that the timeout counter should start when the client
>>>>"queues" a message to be sent, not when the message is actually sent
>>>>after delays. In our system we are simulating delays in the network
>>>>connection; in a real system the client would probably not be aware
>>>>of
>>>
>>>
>>>>such delays.
>>>>
>>>>1. Is it valid to assume that the timeout counter should start when
>>>>the client "queues" a message, not when the message is actually
sent?
>
>
>>>>2. Should we log the time that the client "queues" a message to be
>>>>sent as well as the time the message is actually sent after delays,
>>>>or
>>>
>>>
>>>>only the time the message is actually sent?
More information about the Csci551-talk
mailing list