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

Move EDU program queue to FRAM #203

Closed
Tracked by #201
PatrickKa opened this issue Dec 18, 2023 · 3 comments · Fixed by #336
Closed
Tracked by #201

Move EDU program queue to FRAM #203

PatrickKa opened this issue Dec 18, 2023 · 3 comments · Fixed by #336

Comments

@PatrickKa
Copy link
Contributor

PatrickKa commented Dec 18, 2023

Description

I am not sure how exactly to do that. Should the queue always be read from the FRAM or do we cache it in RAM? We also need to decide on the maximum size.

@PatrickKa
Copy link
Contributor Author

Blocked by #185 and #192

@PatrickKa
Copy link
Contributor Author

As explained in #294, we need a fallback mechanism in case the FRAM does not work. This means that the queue needs to be cached in RAM (maybe with a smaller size, though). If the FRAM works, queue entries are read from and written to it. Queue entries are also always written to the cache, but only when the FRAM doesn't work are they also read from the cache.

@PatrickKa
Copy link
Contributor Author

Note that the queue index should also be stored on the FRAM as one of the persistent variables.

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

Successfully merging a pull request may close this issue.

2 participants