Relative Content

Tag Archive for document-databases

Using a relational and a non-relational database in the same project?

I ran into a problem on the project I’m working on right now. It is basically an app that stores a path based on GPS coordinates. The app runs on android an saves the GPS location every second and then sends it to on API. I think if I insert a record for every location saved there will be to many records in the table very fast. For example if I go on a run three times a week for 1 hour there will be 10’800 new records per week, now imagine this with 1000 active users for a year…

Votes database architecture

I want to create an app using MongoDB (NoSQL database) that allows people to vote on posts (simillar to Reddit). What’s the recommended way to store votes for the users?