-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Enhancement]: Improve storage of BOSS objects #18
Comments
One thing we could do is store the Splatoon data in the Database - then we could use the DB as a "fallback" for certain whitelisted keys (I.e. The data for bb6tOEckvgZ50ciH wasn't found in the CDN folder, look for an entry in the database) This would allow us to do automation, and get around the volume issues with local files - but not fully send the data off to S3 |
Worth noting that these can and almost certainly should be generated by the server, they're just descriptions of the.. I think NPDI data? They're static for ~30days at a time so if we cache it after generation that's fine It's been a frequent source of errors in the past where the tasksheets were improperly updated by paw and had e.g. the wrong file length |
This lines up with what we were already planning to do 👍 The end goal was always to move the underlying files entirely to S3 and generate the lists (NPFL/NPTS) on the fly with some caching (I intended to use both memoization and Cloudflare for this, so that non-Cloudflare users still get some caching and we can do some per-list caching more easily) The local storage option shouldn't be removed entirely however, as part of our efforts to not completely vendor-lock |
For some additional context on what these files/services are:
|
Checked Existing
What enhancement would you like to see?
Currently, BOSS has several ways that it stores/serves files:
cdn/content/encrypted/${titleHash}/${fileHash}
)${appID}/${taskID}/${file.hash}
)cdn/tasksheet/${id}/${hash}
)Ideally, the storage for many of these items should be stored in one place and not locally on disk.
This issue is raised with the new infrastructure in mind, specifically looking at the 2 main topics:
I would like to propose the following:
In the future, I think the files for NPFL and NPPL could also be moved, but that is out scope of this issue imo.
Any other details to share? (OPTIONAL)
No response
The text was updated successfully, but these errors were encountered: