ShokoAnime / ShokoServer

Repository for Shoko Server.
http://shokoanime.com/shoko-server/
MIT License
389 stars 75 forks source link

Plans to Rewrite the Cache Algorithm for Non-essential AniDB Updates (Relations) #773

Open da3dsoul opened 5 years ago

da3dsoul commented 5 years ago

@Cazzar and I discussed this on discord.

Basically, as of now, when you touch an anime and it updates its AniDB info (importing, etc), then its relations, similar anime, etc all get updated. The plan is to make the updating happen less often if the non-essential anime have not been updated recently on AniDB. For example, if a series hasn't changed in 2 years, then chances are, you don't need to pull the data for it very often.

The exact numbers will need to be worked out and tested, but I wanted to write this down before it's buried.

This may help with bans in some cases

revam commented 1 year ago

I think we're good on this front at the moment, but do you want to look at this exponential back-off soon™️-ish? @da3dsoul

ElementalCrisis commented 8 months ago

Closing, @da3dsoul feel free to re-open if needed.