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

Replicate routers.json to multiple routers #10

Open
yoursunny opened this issue Jan 31, 2025 · 3 comments
Open

Replicate routers.json to multiple routers #10

yoursunny opened this issue Jan 31, 2025 · 3 comments

Comments

@yoursunny
Copy link
Member

Currently, the status page retrieves routers.json from UCLA only:

const ROUTERS_JSON = '/ndn/edu/ucla/file-server/routers.json';

Consequently, if the UCLA router is offline, the status page will not work.
The solution is deploying this page in multiple locations.

@Pesa
Copy link
Member

Pesa commented Feb 1, 2025

As a follow-up to our discussion during the call yesterday... I just noticed that this spec says:

The name prefix of a metadata packet before the above three name components SHOULD be the same as the name of the versioned data up to (and not including) its version number component.

What's the reason for the "SHOULD"? What was the rationale for this recommendation?

Also, could someone summarize the pros and cons of using forwarding hint vs. the metadata approach?

@yoursunny
Copy link
Member Author

What's the reason for the "SHOULD"? What was the rationale for this recommendation?

Placing metadata and segments under the same base prefix is the most common use case hence it's the general recommendation.

Remember the recommendation at the top:

it is RECOMMENDED that each application defines its own instance of the RDR protocol based on this document

ndn6-file-server has its own RDR dialect in which I can do whatever have a discovery prefix that differs from the serve prefix.

@Pesa
Copy link
Member

Pesa commented Feb 3, 2025

What's the reason for the "SHOULD"? What was the rationale for this recommendation?

Placing metadata and segments under the same base prefix is the most common use case hence it's the general recommendation.

Sure, that may be the most common usage in applications today, but I doubt we can claim to have so much experience in NDN app design to make it a "SHOULD", which is a fairly strong recommendation. Absent any intrinsic reason to prefer that naming scheme, I don't think the mere fact that it's commonly used is a good justification for a "SHOULD".

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