website
website copied to clipboard
Store Only User PB Runs (With Exceptions)
Right now we currently store every single run replay on the site. While generous, this is not the final approach we will be taking.
We want to:
- Keep all of the stats and reward cosmetic XP for completion, as the DB entry is far cheaper than the stockpiled replays, and people like their stats (averages)
- On PB, delete the old replay file and replace with new one
- Only if run was not previously WR. We want to keep all WRs for a "WR history" section on the site so people can watch old WRs
- If not PB, discard replay file (do not write out to file / cloud bucket)
- I should note that we are using Steam Cloud on the game and will sync everyone's runs they locally have between machines. Steam gives us ~50 GB to deal with for the game, so that should be plenty.
- Keep in mind this is for each category, not the overall map itself. Each person gets 1 PB / category replay saved on the site