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

Storing BRC in mongo. #19

Open
chhsiao1981 opened this issue Dec 7, 2020 · 0 comments
Open

Storing BRC in mongo. #19

chhsiao1981 opened this issue Dec 7, 2020 · 0 comments

Comments

@chhsiao1981
Copy link
Collaborator

chhsiao1981 commented Dec 7, 2020

BRC is recording user-read-article within 1 year.

It's assumed that on average each user reads around 10000 articles per year.
We can store {userID, articleID, read-time} in mongo and indexed by user-id for now.
(expecting 1T~10T of mem for 10M users.)
(mongodb is using LRU for the indexed mem usage~
no need to worry mem for now~)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant