[Csci551-talk] use of timers
S. Rubin
srubin at flash.net
Wed Mar 23 17:24:32 PST 2005
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/c2be99b6/attachment.html
More information about the Csci551-talk
mailing list