[ndnSIM] Not executing m_cs.insert(data) command on consumer generates error

DJEMAA Adel a_djemaa at esi.dz
Tue Dec 13 08:30:17 PST 2022


Hello, as I understand it, the topology you're describing is like this:
C1 -- C2 -- Producer.
with point-to-point links. Am I correct?
Which caching policy are you using in your scenario? CEE,
probability-based, or other?
The default caching policy, of ndnSIM is CEE, so if you didn't change it,
the Data will be cached on every relay node, including C2.
Please complete your last question so we can provide further guidance.
Hope that helps.
Regards.

Le dim. 11 déc. 2022 à 07:43, Waseeq Islam via ndnSIM <
ndnsim at lists.cs.ucla.edu> a écrit :

>
> Hello,
>
> I need help to solve the following issue related to caching in the
> multi-consumer scenario.
>
> *Scenario: The multi-consumers* scenario requesting the same content at
> different time
>
> If we don't cache the content on the consumer, which will demand it in a
> short time, the code starts behaving strangely.
>
>    -
>    Consider the scenario where two consumers C1 and C2 will request the
>    same content x.  C1 requests it at time 0 whereas C2 will request it at
>    1000.
>    When C1 requests the content the Data packet passes from C2 to reach
>    C1. As C2 has not yet requested it, we are not caching it on C2 (by
>    checking which consumer requested it keeping the consumer ID in the tag).
>
>    By doing this the code is giving very bad behavior, the working is
>    similar to having no PIT. The nodes start transmitting the received
>    Interest packer each time without considering PIT aggregation or loops. As
>    a result, consumers barely receive the data packet.
>
>        *Idea:  *I got the idea to store the received content on each
> consumer C2 and C1, whether they have requested it or will request in short
> period of time. Later, to check if it is not yet requested by the current
> consumer to remove it from the cache after storing. So, when at time =
> 1000, C2 requests it. It should not get it from its local cache, instead,
> it should request it by sending Interest.
>
> The problem is how to remove cache entry from the
>
>
>
>
> *Regards,*
> *WASEEQ*
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>


-- 
Mr DJAMA Adel
Phd student
Ecole Militaire Polytechnique
Algiers 16046, ALGERIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20221213/d83d8a67/attachment.html>


More information about the ndnSIM mailing list