[Csci551-talk] use of timers
Affan, Syed
asyed at usc.edu
Wed Mar 23 18:58:20 PST 2005
Intersting point... and no, by sleep we meant just not requesting any
other GRP_INTEREST to the tracker .. so a timer should do :).
Best Regards,
Affan, Syed.
-----Original Message-----
From: csci551-talk-bounces at mailman.isi.edu
[mailto:csci551-talk-bounces at mailman.isi.edu] On Behalf Of S. Rubin
Sent: Wednesday, March 23, 2005 5:25 PM
To: csci551-talk at mailman.isi.edu
Subject: [Csci551-talk] use of timers
The project paper states that "node wil sleep for period of "Request
Timeout" in case
it is unabled to download 8 segments because no more are available from
the current
group. If we actually use "sleep", that means that this node will not
be able to "serve"
the segments it has to others. So should we use sleep or a timer in this
case?
The same question applies to the seed who is delaying his response to
the client.
If we use sleep then he will be unable to process other clients'
requests while delaying
this guy's reply. In addition we cannot use sleep for milliseconds
since it only accepts
seconds as its parameter (the delays given in config file are in
milliseconds). So it
seems like no matter what, timer is the only thing that should be used.
Is this correct?
Sophia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.isi.edu/pipermail/csci551-talk/attachments/20050323/1c97146f/attachment-0001.html
More information about the Csci551-talk
mailing list