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

[Not sure] SVS Sync Interest with multicast forwarding hint #17

Closed
zjkmxy opened this issue Nov 14, 2023 · 4 comments
Closed

[Not sure] SVS Sync Interest with multicast forwarding hint #17

zjkmxy opened this issue Nov 14, 2023 · 4 comments

Comments

@zjkmxy
Copy link
Collaborator

zjkmxy commented Nov 14, 2023

Since NDN testbed only has /ndn/multicast set to use the multicast strategy by default, to make our app work we had to make the whole workspace prefix be under /ndn/multicast. But this also multicasts Data Interests.
We want to support arbitrary workspace prefix. Maybe we should use forwarding hints to multicast SVS Sync Interests?

@yoursunny
Copy link

Since NDN testbed only has /ndn/multicast set to use the multicast strategy by default, to make our app work we had to make the whole workspace prefix be under /ndn/multicast. But this also multicasts Data Interests.

Sync group prefix and application data prefix can be chosen independently.
As an example, StateVectorSync C++ library chat example uses a sync group prefix that starts with /ndn/svs and allows each participant to choose a different prefix for published application data.

@zjkmxy
Copy link
Collaborator Author

zjkmxy commented Nov 15, 2023

That leads back to the discussion on application namespace vs forwarding namespace...
This app uses application namespace for security and management, so all forwarding related thing should be expressed in ForwardingHints.

@yoursunny
Copy link

I'm afraid NFD would not treat ForwardingHint: /ndn/multicast as multicast Interest.
StrategyChoice lookup is based on PIT entry name i.e. Interest name, and ForwardingHint is not considered whatsoever.
Thus, the effective strategy would be whatever strategy that matches the Interest name.

NDNts side should be okay.
If you invoke fw.nodeNames.append(new Name("/ndn/multicast")), NDNts FIB lookup will use Interest name, so that incoming Interest with this ForwardingHint can reach the correct producer handler.

@zjkmxy zjkmxy mentioned this issue Nov 19, 2023
34 tasks
@zjkmxy
Copy link
Collaborator Author

zjkmxy commented Dec 1, 2023

After discussion we think this is not the correct way to do things.

@zjkmxy zjkmxy closed this as completed Dec 1, 2023
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