3 ms·
Don't modify the scores of old posts, start newer ones with a higher score. Check out how reddit does it: https://medium.com/hacking-and-gonzo/how-reddit-ranki
by erpellan 9y ago
Don't modify the scores of old posts, start newer ones with a higher score.
Check out how reddit does it: https://medium.com/hacking-and-gonzo/how-reddit-ranking-algorithms-work-ef111e33d0d9 https://medium.com/hacking-and-gonzo/how-reddit-ranking-algo...
The concept is that the time-based part of the score is immutable, fixed at post creation time.
That way you only have to recalculate when a score-modifying event occurs, not every time the page is refreshed.
- NicoJuicy 9y agoGood advice, thx!