Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the stored content information inside the cache replacement policy #2

Open
subodhpd opened this issue Mar 11, 2022 · 2 comments

Comments

@subodhpd
Copy link

I would like to use the information of the content inside the cache replacement policy such as:

1)Time of generation(by the producer) of contents present in the content store.
2)Number of requests of the contents present in the content store.
3)Time at which the contents are cached in the content store.
4)Time of last request of the contents in the content store
please help me getting these information

@adiparamartha
Copy link
Owner

Hello @subodhpd, thank you for visiting my work.

Based on your problem, I can observe that you might need to add specific time for each content requested and processed. Actually, I have never done that before, but I have some suggestions that you might be able to follow:

  1. Take a look into my paperwork that explains how the LRFU replacement policy is built with ndnsim in the NS3 environment
    Paper 2
    Paper 1

  2. As far as I know, to add time constraint information in NDN, you need to modify the time module that comes from NS3 and use it in your replacement policy code.

  3. While modifying your replacement policy, you can add the time information for each content entered, referenced, or removed from the Content Store. Therefore, you can use it for your replacement policy info.

  4. I strongly suggest fixing the problem one-by-one until you fully understand how the NDN replacement policy work in ndnsim.

Hopefully, it can help you,
Thank you

@subodhpd
Copy link
Author

subodhpd commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants