MongoDB is a NoSQL databasing service offered by Mongo. Here is a tutorials point tutorial for mongodb. We are going to be using mongodb with node, so here is a tutorial from w3.
Details
MongoDB, being a nosql database, stores key-value pair. This is exactly what we want for this. Their free plan offers 512 MB of storage, which is more than enough for us. Although mongo is written in C++, the databasing format looks almost exactly like JavaScript object literal. MongoDB has many advantages for this project. It could be easily integrated, and it could be easily accessed by more than one app.
With MongoDB, we can push items to a database faster. Because of how the key-value system is formatted, it would not be that much of a stretch to just push the data raw from reddit into the database. This may or may not be a good idea:
Pros
Cons
easy to implement
may not be secure
A fast database service
Limited storage and RAM
written like javascript
Small differences may become confusing
integrates with NodeJS
May become less efficient when integrated
MongoDB is a great way to store strats, and is a great alternative to sql, or other database options. It will take some effort, but mongo can be integrated very nicely.
Summary
MongoDB comes with many advantages, and integrating it into this project is a good idea.
Notes
MongoDB uses a GUI setup program, so someone has to own it or there has to be a communal password.
MongoDB integration won't be implemented until v0.2, after the project has been pre-released.
Intro
MongoDB is a NoSQL databasing service offered by Mongo. Here is a tutorials point tutorial for mongodb. We are going to be using mongodb with node, so here is a tutorial from w3.
Details
MongoDB, being a nosql database, stores key-value pair. This is exactly what we want for this. Their free plan offers 512 MB of storage, which is more than enough for us. Although mongo is written in C++, the databasing format looks almost exactly like JavaScript object literal. MongoDB has many advantages for this project. It could be easily integrated, and it could be easily accessed by more than one app.
With MongoDB, we can push items to a database faster. Because of how the key-value system is formatted, it would not be that much of a stretch to just push the data raw from reddit into the database. This may or may not be a good idea:
MongoDB is a great way to store strats, and is a great alternative to sql, or other database options. It will take some effort, but mongo can be integrated very nicely.
Summary
MongoDB comes with many advantages, and integrating it into this project is a good idea.
Notes
v0.2
, after the project has been pre-released.