My goal is to generate a system similar to the system on the first reddit page.
I have things, and for simplicity, these things have voices. The best system I generated uses time decay. With half the time in 7 days, if today the vote costs 20 points, then after seven days it costs 10 points, and after 14 days it will cost 5 points.
The problem is that although this gives results, I am very pleased that it does not scale. Each vote requires me to effectively recalculate the value of every other vote.
So, I thought I could undo this idea. Voting today is worth 1 point. Voting after seven days costs 2 points, and after 14 days it costs 4 points and so on. This works well because for each vote I only need to update one line. The problem is that by the end of the year I need a data type that can contain fantastically huge numbers.
So, I tried to use linear growth, which caused terrible ratings. I tried polynomial growth (squaring and cubing the number of days since the launch and submission of the site), and this gave somewhat better results. However, as I get somewhat better results, I quickly return to unattainable numbers.
So, I come to you stackoverflow. Who got a brilliant idea or a link to an idea on how to model this system so that it scales well for a web application.
source share