Cassandra instead of MySQL for social networking app
Posted
by Christopher McCann
on Stack Overflow
See other posts from Stack Overflow
or by Christopher McCann
Published on 2010-04-05T22:04:57Z
Indexed on
2010/04/05
22:23 UTC
Read the original article
Hit count: 228
I am in the middle of building a new app which will have very similar features to Facebook and although obviously it wont ever have to deal with the likes of 400,000,000 million users it will still be used by a substantial user base and most of them will demand it run very very quickly.
I have extensive experience with MySQL but a social app offers complexities which MySQL is not well suited too. I know Facebook, Twitter etc have moved towards Cassandra for a lot of their data but I am not sure how far to go with it.
For example would you store such things as user data - username, passwords, addresses etc in Cassandra? Would you store e-mails, comments, status updates etc in Cassandra? I have also read alot that something like neo4j is much better for representing the friend relationships used by social apps as it is a graph database. I am only just starting down the NoSQL route so any guidance is greatly appreciated.
Would anyone be able to advise me on this? I hope I am not being too general!
© Stack Overflow or respective owner