Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further Improvement-sub story needed #1

Open
Ray1988 opened this issue Jul 27, 2014 · 0 comments
Open

Further Improvement-sub story needed #1

Ray1988 opened this issue Jul 27, 2014 · 0 comments
Assignees

Comments

@Ray1988
Copy link
Owner

Ray1988 commented Jul 27, 2014

  • use story id instead story name
    • story structure {id: str, impression: int, read:in}
  • counting events will be invoke by batch
    • e.g. [{ storyid: 121212, impression:100, read: 1}, {storyid: 121311, impression: 20, read: 2} ...]
    • a user's client report the story 121212, has been show up 100 times, but only been read once. need to add up those counts.
    • We might ensure those client report will be sent at least every hour. So an offline client won't spike the read count for that day it become online
  • top story mean top n story (n >=100)
  • also need to record impression, impression is important, since read/impression ratio is a factor to show how good a story is.
    • need to query this counts
    • given a set of story ids, get their impression and reads. We may need to get the data in hours, days, ... or total.
@Ray1988 Ray1988 self-assigned this Aug 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant