Tech IndustryDec 2, 2019
OraclevAPF84

SQL vs No SQL

This is a classic question which arises in system design interviews and also practical distributed systems. Should I use sql or no sql for a particualr database. Looking at enginering blogs of tech companies like youtube they use a hybrid sql and nosql solutions. Can anyone give me a link or reason on how for which component are we deciding which database to use. Some specific questions suppouse you want to design tinyurl do you use sql or no sql, I would say no sql because we are not joining and it is easier to shard, but there are sql shardung solutions also availiable. What about designing a scoreboard for leetcode again we can use either.

Amazon Dr. Savage Dec 2, 2019

To be or not to be?

Wish cMaz_ï Dec 2, 2019

highscalability dot com

Google EzGx25 Dec 2, 2019

Flat file, preferable CSV.

Amazon SmkWdEvyDy Dec 2, 2019

Read off of solely magnetic disks.

Microsoft Dгunk@Woгk Dec 2, 2019

Cosmos DB is NoSQL DB that can be queried with SQL syntax. Tell your interviewer to suck it.

Microsoft Tier 1 Dec 2, 2019

CosmosDB sucks

Microsoft Dгunk@Woгk Dec 2, 2019

It may very well suck but it doesn’t make what I said less true. Swallow that.

Adobe CmndrKeen Dec 2, 2019

Is there a relationship you need to model? If so consider SQL, if not then consider NoSQL

Uber itsdara1 Dec 3, 2019

LAMP

Facebook tAGO84 Dec 3, 2019

Default to SQL