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

Different possible optimizations for count_q and count_v #19

Open
rikard-sics opened this issue Oct 21, 2024 · 0 comments
Open

Different possible optimizations for count_q and count_v #19

rikard-sics opened this issue Oct 21, 2024 · 0 comments

Comments

@rikard-sics
Copy link
Member

rikard-sics commented Oct 21, 2024

We had a number of proposals about optimizations for the counters.

  • Use the device clock in a clever way, instead of saving counters
    • Proposal by Carsten during IETF 112 and interim 2022-04-28
  • Constrained devices saving count_q/count_v regularly
    • Similar to OSCORE Appendix B.1
  • Each client can count q up to half the q limit

We should consider how these 3 proposals work, and how they would interact with each other or can be combined. We can also clarify that saving the counters every N is just a suggestion for implementers. Different solutions may be acceptable. The key point is making sure to not lose or underestimate the counters after reboot (while overestimating them can be fine to some extent).

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

1 participant