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

Static path IDs? #321

Open
kazuho opened this issue Mar 19, 2024 · 2 comments
Open

Static path IDs? #321

kazuho opened this issue Mar 19, 2024 · 2 comments

Comments

@kazuho
Copy link
Member

kazuho commented Mar 19, 2024

With the new design of having explicit path identifiers, do we need a mechanism for issuing and retiring path IDs at all? They seem to be an unnecessary complexity to me.

The simpler design would be to say that if an endpoint is capable of handling N paths simultaneously, it would use path IDs between 0 and N-1 for the lifetime of the connection, regardless of how many times paths are migrated, either voluntary or involuntary.

When a receiver receives packets on a new path, it has to perform path validation and reset CC regardless of if the received packets carry a new path ID or a old one. Therefore, I think there is not much effort in having the complexity of issuing and retiring path IDs within the protocol.

The downside of reusing path IDs is that endpoints have to remember the last packet number it sent / received on paths that become idle. But that cost would likely be smaller than having the cost of maintaining a dynamic list of path IDs that are alive.

@mirjak
Copy link
Collaborator

mirjak commented May 14, 2024

I think this is a mostly a duplicate of #297. I propose to have the discussion there!

Can we close this issue and use #297 instead?

@mirjak mirjak added the duplicate This issue or pull request already exists label May 14, 2024
@mirjak mirjak removed the duplicate This issue or pull request already exists label May 29, 2024
@mirjak
Copy link
Collaborator

mirjak commented May 29, 2024

I closed #297 and we should continue the discussion here. Please have a look at the discussion in #297 about use of the path ID for the unique nonce.

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

No branches or pull requests

2 participants