mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-19 14:41:00 +00:00
1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
[{"user_id": 28328, "stars": [], "topic_id": 20500, "date_created": 1303301356.872648, "message": "Did anyone saw some slides or articles about best practice in data modeling with mongoDB for own application ?", "group_id": 1089, "id": 753926}, {"user_id": 8224, "stars": [], "topic_id": 20500, "date_created": 1303312618.817466, "message": "http://www.10gen.com/video/mongosv2010/schemadesign", "group_id": 1089, "id": 755847}, {"user_id": 28328, "stars": [], "topic_id": 20500, "date_created": 1303313154.413372, "message": "Yeah, already found it. But what i dont understand. If document size is limited, why embedding comments counts as a good approach ?", "group_id": 1089, "id": 755972}, {"user_id": 8224, "stars": [], "topic_id": 20500, "date_created": 1303327347.48507, "message": "Four megs of data makes for a fairly large document. Storing a few integers is not going to be much of an issue in terms of space.", "group_id": 1089, "id": 759894}, {"user_id": 8224, "stars": [], "topic_id": 20500, "date_created": 1303327422.2757759, "message": "The goal of storing a comment count or username is to prevent additional finds.", "group_id": 1089, "id": 759911}, {"user_id": 8224, "stars": [], "topic_id": 20500, "date_created": 1303327594.950207, "message": "Mongo is still young so we haven't really figured out all the best practices yet.", "group_id": 1089, "id": 759965}, {"user_id": 28328, "stars": [], "topic_id": 20500, "date_created": 1303330622.400449, "message": "As i understood, they store whole comment body embedded too. But i like the idea. It would be cool, to mix - first store comments embedded, but if comment block goes to grow near the limit - move it out as DBRef, or mark to look in other collection.", "group_id": 1089, "id": 760845}, {"user_id": 8224, "stars": [], "topic_id": 20500, "date_created": 1303348540.6089649, "message": "Just as a reference the complete works of Shakespeare sits at around 5mb http://www.gutenberg.org/ebooks/100", "group_id": 1089, "id": 763899}, {"user_id": 8224, "stars": [], "topic_id": 20500, "date_created": 1303348491.542136, "message": "Well they don't natively support such a feature, but you can certainly implement something like that if you'd like.", "group_id": 1089, "id": 763886}, {"user_id": 8224, "stars": [], "topic_id": 20500, "date_created": 1303348899.503978, "message": "Hitting that limit takes a good amount of work. It's certainly possible, but it's not something that I really worry about for most applications. Personally I would feel warm and fuzzy if there was no limit to document size, but I know that I'd abuse that at some point.", "group_id": 1089, "id": 763977}, {"user_id": 28328, "stars": [], "topic_id": 20500, "date_created": 1304319731.740633, "message": "thanks for infos :D", "group_id": 1089, "id": 880964}] |