A social network will have a lot of relations -- so you should use a relational database.
Other web apps may not need as many relations (most mobile apps), in which mongodb is a superior solution
http://en.wikipedia.org/wiki/Relational_algebra
A social network will have a lot of relations -- so you should use a relational database.
Other web apps may not need as many relations (most mobile apps), in which mongodb is a superior solution