6 points · by appalam · 2y ago · 15 comments
The flashcards are around a million in number, organised into 19 subjects, 5-10sections each, 10-20chapters under each section and several subtopics under each chapter.
An user will study daily from multiple chapters and subtopics from various subjects. I need to store that data and use it to run a spaced repetition algorithm and give dailycards for review. this will help them achieve spaced recall for effective memory. I may achieve 50,000 MAUs soon after launch. In future I will also be adding question banks to the app.
I am confused about going with mongo + realm or postgres + sqllite. Please help me choose. My users will be primarily from asia.
I am not sure whether Sqlite scales, but that would be my first suggestion.
It has the added benefit of doing a lot for you. With MongoDB you'll need app logic to do certain things. MongoDB improved ACID support but it's not as smooth as just starting PostgreSQL and use it right away.
But that all doesn't matter. Pick what you're comfortable with.
I just have one concern though, the user will be interacting heavily with the flashcards while studing and I want to store that info for the algo. Should i go with an on-device database for it? or Firestore can handle it?
I just have one concern though, the user will be interacting heavily with the flashcards while studing and I want to store that info for the algo. Should i go with an on-device database for it? or Firestore can handle it?
Use whatever tech you know best and feel more comfortable using.
I just have one concern though, the user will be interacting heavily with the flashcards while studing and I want to store that info for the algo. Should i go with an on-device database for it? or Firestore can handle it?
Stop planning and start building.
Then solve the problems one at a time when they matter.
Good luck.
Use firebase auth.
Ship your app (checks watch) by tonight.
Good luck! Sounds like a cool app.
I just have one concern though, the user will be interacting heavily with the flashcards while studing and I want to store that info for the algo. Should i go with an on-device database for it? or Firestore can handle it?