[ndnSIM] How to choose the nearest server with App Instances

Xiaoke Jiang shock.jiang at gmail.com
Wed Jul 3 07:09:18 PDT 2013

Hi Alex,  
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.

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?

Thank you !  


My Regards,
Xiaoke (Shock) Jiang (蒋小可)

Ph.D. Candidate,
Department of Computer Science and Technology,
Tsinghua University, Beijing, P.R.China. 100084

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130703/a6c0106b/attachment.html>

More information about the ndnSIM mailing list