[ndnSIM] How to choose the nearest server with App Instances
shock.jiang at gmail.com
Wed Jul 3 07:09:18 PDT 2013
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 !
Xiaoke (Shock) Jiang （蒋小可）
Department of Computer Science and Technology,
Tsinghua University, Beijing, P.R.China. 100084
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM