Building a feature of top of existing site w/ articles and videos (posts) that allows people to see what is popular on the site. I have the following fields for each post:
- Number of seconds since post was published
- Number of comments made on post
- Number of "likes" on posts
I want to bake a simple algorithm to determine what is popular but need to factor in decay (from time being elapsed).