O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Which type of database should we use?

At first, one might be tempted to go with NoSQL because then we don't need to worry about structuring our data and join queries. However, it is important to realize that, instead of writing these queries in SQL form, we will instead be retrieving all the data into the user space, that is, the program, and then write the manual join queries within the program.

Instead, if we rely upon relational databases, we can be assured of smaller storage space, more efficient join queries, and data with well-defined schemas. All relational databases and some of the NoSQL databases provide indexing, which also helps in optimizing for faster search queries. However, one major drawback of relational databases with using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required