perf-tooling icon indicating copy to clipboard operation
perf-tooling copied to clipboard

Integrate MongoDB to store fetched api data

Open stefanjudis opened this issue 9 years ago • 2 comments

stefanjudis avatar Jun 26 '15 13:06 stefanjudis

If we add a MongoDB, are we going to store the data of tools, articles, books… as well or do you wanna keep the `JSON files? JSON might be better for contributing but a database would performa a bit nicer because we could link some fields.

marcobiedermann avatar Jul 08 '15 19:07 marcobiedermann

If we add a MongoDB, are we going to store the data of tools, articles, books… as well or do you wanna keep the `JSON files?

Sticking to data json files for easier contributions.

The only thing that bothers me is that we're loosing all meta data on deployment and we have to fetch everything again. Network connections can always fail. Also the server is on heavy cpu load after deploy which is not nice.

So plan is, to store data in MongoDB ( mongo just because it's easy at heroku ) and update it then later with fetched data. New files will be fetch new.

So nothing will change from a content point perspective. :bowtie:

stefanjudis avatar Jul 08 '15 19:07 stefanjudis