You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commonly, a user will group themselves with another player many times so we could reduce the number of times we ask for recent games by using some sort of cache. The cache must be able to be reset so that we can update a player's newest stats.
The text was updated successfully, but these errors were encountered:
A simple cache is implemented. There's a temporary (short-lifed) cache for recent games API calls and then a more permanent (long-lifed) cache for summoner ID look-ups. The temporary cache is reset after the stats of all groups has been updated, but this might need to be changed in the future to after every group in the case of there being a lot more groups.
I've gotten amazing results from doing this, the API calls are 10x faster (due to not beeing throttled as much by calling the Riot API too much), however, many of my groups are very similar (good for the cache) so your results may vary.
Commonly, a user will group themselves with another player many times so we could reduce the number of times we ask for recent games by using some sort of cache. The cache must be able to be reset so that we can update a player's newest stats.
The text was updated successfully, but these errors were encountered: