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

Store a record of when data is pulled from TBA to (1) make use of ETag and reduce bandwidth, and (2) automatically sync data as-needed #202

Open
JL102 opened this issue Mar 15, 2024 · 0 comments
Labels
Complexity - 3 Large Issue estimated to require a significant amount of dev effort, potentially broken into sub-issues. enhancement New feature or request. Importance - 1 Low A low-impact issue, e.g. visual improvement or nice-to-have feature.

Comments

@JL102
Copy link
Collaborator

JL102 commented Mar 15, 2024

This would allow #148 to be automatically handled by auto-pulling the list of teams from an event if, for example, the match schedule was updated more recently than when the team list was updated, and the team list has not been pulled in, for example, >6 hours. TBA supports ETag/If-None-Match headers (https://www.thebluealliance.com/apidocs) so if we store the etag and time of each of our TBA API calls, we'd be able to reduce the bandwidth requirements on TBA's servers from all of our syncing, and we'd be able to do some more "Let's automagically fix this data issue in the background" wizardry, without having to worry about the edge case where a recalculation/data-re-pull doesn't actually fix the issue, since we'd only re attempt that fix once in a while.

@JL102 JL102 added enhancement New feature or request. Complexity - 3 Large Issue estimated to require a significant amount of dev effort, potentially broken into sub-issues. Importance - 1 Low A low-impact issue, e.g. visual improvement or nice-to-have feature. labels Mar 15, 2024
@JL102 JL102 linked a pull request Mar 15, 2024 that will close this issue
@JL102 JL102 removed a link to a pull request Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity - 3 Large Issue estimated to require a significant amount of dev effort, potentially broken into sub-issues. enhancement New feature or request. Importance - 1 Low A low-impact issue, e.g. visual improvement or nice-to-have feature.
Development

No branches or pull requests

1 participant