Thread
:
How is 'popular'/hot calculated?
View Single Post
CrashandDie
2010-07-08 , 10:08
Posts: 336 | Thanked: 610 times | Joined on Apr 2008 @ France
#
2
Counting currently "hot" applications
To make a dynamic listing of applications that are "hot right now", we need to store some additional download statistics per application:
Total amount of downloads
Average downloads per day during last week
Yesterday's downloads
These can then be used to calculate whether an application is getting more downloads on a given day than usual, meaning that it is "currently hot".
This should be possible to count via:
current karma = (yesterday's karma - age modifier) + (total download count - yesterdays downloadcount - lastweeks daily average)
Source
.
Quote & Reply
|
The Following User Says Thank You to CrashandDie For This Useful Post:
dwould
CrashandDie
View Public Profile
Send a private message to CrashandDie
Find all posts by CrashandDie