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

Freeze data at rest format #365

Open
Tracked by #182
alexsnaps opened this issue Aug 5, 2024 · 1 comment
Open
Tracked by #182

Freeze data at rest format #365

alexsnaps opened this issue Aug 5, 2024 · 1 comment

Comments

@alexsnaps
Copy link
Member

alexsnaps commented Aug 5, 2024

We want to have a stable and performant format to store counters on disk (whether Redis or whatever). It should probably have the following characteristics:

  • [ ] binary format, i.e. compact. e.g. postcard
  • [ ] have a version encoded in it, so it can be (lazily) changed moving forward
  • [ ] store all counters for each time window of a given RLP in one entry
@alexsnaps alexsnaps mentioned this issue Aug 5, 2024
6 tasks
@alexsnaps alexsnaps added this to the Limitador Server v2.0.0 milestone Aug 5, 2024
@alexsnaps alexsnaps self-assigned this Aug 6, 2024
@alexsnaps
Copy link
Member Author

So we can't do any of this... but there is two things that remain to solve:

  • Ensure partitioning prefix for Redis is respected in the new v2 format for id'ed limits
  • Set some marker to store the format "mode" so we can get our of this mess one day

@alexsnaps alexsnaps removed their assignment Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant