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

Draft Quality of Service X.509 extension for Delivery Authorization certificates #59

Open
gnarea opened this issue Apr 6, 2020 · 0 comments
Labels
enhancement New feature or request spec-pki

Comments

@gnarea
Copy link
Member

gnarea commented Apr 6, 2020

Executive summary

Since relays like couriers and public gateways have a limited amount of disk space they can allocate to each private gateway, they'll be forced to stop accepting messages for those gateways once their quota is reached. With a Quality of Service mechanism in place, messages could be prioritised so that relays can make room for messages with a higher priority by deleting less critical messages when necessary.

Describe the solution you'd like

I propose that we attach it to the sender's certificate in the form of a non-critical X.509 extension. And when we calculate the priority for a message, we take the lowest priority in the sender's certificate chain.

The priority value would be an integer in the range [-2, 2] and would default to 0.

We'll probably have to get the desktop/Android gateway to check with the user if an app requests to use the highest priority. At least when the Internet is unavailable.

Describe any alternatives you've considered

Generally speaking, the priority field could be attached to the RAMF message (as a new field), the sender or both. However, it'd be problematic to attach it to RAMF messages because it'd only be applicable to cargo and parcel messages, but it wouldn't apply to messages like a Parcel Collection Acknowledgement, for example.

@gnarea gnarea added enhancement New feature or request spec-pki labels Apr 6, 2020
@gnarea gnarea changed the title Draft Quality of Service X.509 extension to Delivery Authorization certificates Draft Quality of Service X.509 extension for Delivery Authorization certificates Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request spec-pki
Projects
None yet
Development

No branches or pull requests

1 participant