bhanuc / nanonets

Demo API server
0 stars 0 forks source link

Choice of database #3

Open prats226 opened 6 years ago

prats226 commented 6 years ago

What are your thoughts on choosing rethinkdb as choice of database for this problem?

bhanuc commented 6 years ago

I choose rethinkdb as it is an object based store, where I could store all the model related data directly in the model object itself and being schemaless allowed me to design the schema as I wrote this app in few hours. I didn't choose mongodb because it get's terrible to handle with scale but is slightly easier than rethinkdb. I installed and used rethinkdb for the first time and I think I like it mostly, although it seems it does have some rough edges but it seemed to fit very nicely to our use case.

Rethinkdb also has 1-click solutions for sharding and replication making it easier to scale. So to sumarise: