[Csci551-talk] Re: [Cs551] Questions

Xi Wang xiw at usc.edu
Sun Mar 27 16:08:12 PST 2005



S. Houtris wrote:

> Hi,
>  
> 1) 
...
>  
> 2) When a client is requesting segment updates, does it have to send 
> CLNT_INFO_REQ to all and then receive, or he can do it one by one. I 
> mean getting in a loop and sending and receiving. I would like to ask 
> the same about segment requests although I guess there we are supposed 
> to do it with the first way.
>  

We had a discussion and we strongly suggest you send all requests and 
then wait for replies (the former approach). This is also suggested by 
the pseudo code in the assignment.

The latter approach will have serious performance issues when there are 
packet losses. If the program need to wait for a reply before sending 
the next request, all delays caused by packet drops are added together, 
so it could fail some test cases.

-Xi



More information about the Csci551-talk mailing list