Closed alexsherman closed 5 years ago
this that good shit https://github.com/benashford/redis-async-rs
should importantly cache score matrices of global results (winrate of each champ given these partial comps) as well as summoner score services. use least frequently used mode
Done the basic shit in the new pr. i'll make follow up issues for the many improvements that can be made
simple redis cache where keys are summoner ids and values are rust req structs (figure out the ser/de involved). stale time can be a few hours, or a day even - unless you're a new player, your reqs should not be significantly off if they are only missing the current day's games.