Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Needed: "Good" MongoDB and/or Cassandra example application

I'm investigating both Cassandra and MongoDB for a new project because they share some good qualities that I will need to take advantage of for this project.

I've seen plenty of shallow examples for Cassandra and MongoDB - basically how to configure and start up the database, how to add new items, how to query the items. But what I really need are examples that contain strategies for inserting and querying complex data. Something that would require one-to-many and many-to-many relationships.

Actually I did find a Cassanrda/Twitter example that was pretty good here. Where can I find more examples like this? ...especially for MongoDB

like image 268
JnBrymn Avatar asked Mar 28 '11 22:03

JnBrymn


1 Answers

Please look at

http://www.10gen.com/video

There are various postings and videos explaining MongoDB from scratch including examples.

Also look at

http://www.mongodb.org/display/DOCS/Schema+Design

Key remarks:

  • no JOINs

  • use embedded documents otherwise or look at database reference

  • denormalization is kind of common

Anything else you need?

like image 195
Andreas Jung Avatar answered Nov 08 '22 11:11

Andreas Jung