<div>
                    Hi Alex,
                </div><div><span class="Apple-tab-span" style="white-space:pre">  </span>You know I am simulating CDN scenario now. One of the problem is for the consumer for choose the best surrogate after request is timeout. But now I am not confusing on how to implement it.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I created a class named CDNIPConsumer, which contains producerList and currentProducer. Timeout request triggers the rechoose another producer from producerList. Would you give me some hint? How to pick nearest/second nearest producer?</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Thank you !</div>
                <div><div><br></div><div style="font-family: Futura; font-size: 13px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" color="#b5c4df" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke (Shock) Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D. Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Department of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, Beijing, P.R.China. 100084</font></span></div></font></div></div></div>