How to efficiently separate "Trending Posts" from "Hot Posts" in real time using Redis?
-
Right now I'm using Reddit's ranking algorithm implemented in PHP with Redis but I can't find an efficient way to separate Trending Posts from Hot Posts in real time. I don't really have one definition for "Trending" /"Hot" right now because I haven't found a way to implement it in real time. In a few words, "Trending" would be new posts that have gained some importance but still aren't "important" enough to be on the hot list. And "Hot" posts would be those posts that have exceeded some predefined "importance threshold". I'm using "importance" here an abstract indicator because I'm willing to use any kind of metric that allows me to separate "Trending" from "Hot" posts in real time but I can't find a way to do it efficiently.
-
Answer:
I would: Collect per-post popularity features at real time. Impressions/clicks/shares in the past 1 / 5 / 10 / 30 / 60 etc. minutes. Also bucketed by user categories. Manually label some posts as "hot" and some posts as "trending". Instead of coming up with any definition, just look at the data. Yourself, or involve someone you could provide another less biased opinion. Train a model. Evaluate & A/B test it.
Dima Korolev at Quora Visit the source
Related Q & A:
- How can I use real time social data from Datasift and perform real time analytics on it?Best solution by Quora
- How to get real time quotes for NSE stocks?Best solution by Yahoo! Answers
- How do i scan something? First time using a scaner and i dont think im doing it right. help. thanks?Best solution by Yahoo! Answers
- What is the best interactive real-time weather map online?Best solution by radar.weather.gov
- How long does UPS real time shipping take?
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.