[00:00:29] <frodo_baggins> I searched for WriteResult in this repository and found nothing: https://github.com/mongodb/node-mongodb-native/search?q=writeresult&ref=cmdform
[00:02:44] <frodo_baggins> I guess for now... I can infer from the document result whether an insert or an update was performed.
[00:03:40] <ranman> is an _id returned on an update?
[00:03:53] <ranman> frodo_baggins: sorry I'm not super familiar with the node driver
[00:04:10] <frodo_baggins> I'm pretty sure the whole document is returned.
[00:04:27] <frodo_baggins> Unless the fields option is specified.
[00:04:45] <frodo_baggins> But, from what I've gathered, node-mongodb-native does not support WriteResult.
[00:05:36] <frodo_baggins> And it looks like nobody has opened an issue on the GitHub repo.
[00:06:16] <frodo_baggins> Because they do not have an issue tracker for this project. Neat.
[18:19:03] <sivli> I posted it here http://stackoverflow.com/questions/23434697/relationship-mapping-in-mongodb but basically how should I build a triple/graph with mongo?
[18:22:50] <saml_> so you can't just cache 5 steps
[18:23:01] <saml_> since x can be dynamic per user, game session, .... etc
[18:23:40] <sivli> Its got more to do with the client. iPad vs full desktop. How much memory does it have.
[18:24:00] <sivli> And cache as much as is reasonable
[18:24:51] <saml_> maybe make a document representing a game , containing all scenes in a single doc
[18:25:08] <saml_> and client caches entire game. and calculates next available scenes
[18:25:37] <saml_> GET /games/1 gets all scenes in the game 1. and client builds the scenes... etc
[18:26:04] <sivli> Thats more or less what I am starting to do. That does not sound to crazy then?
[18:26:39] <sivli> Once I commit to this changing the model will be a lot of work. Just want to be sure this is the best option.
[18:31:52] <sivli> Hmm reviewing my current build I think you are right. I am going to merge Games and Scenes. I already have the data heavy aspects of scenes extracted into a Segment collection (doc).
[18:34:06] <sivli> Ah well so much for preventing cheating. (not a real issue as its one player) Thanks, always great to have a second option!
[19:41:08] <simpleAJ> could some explain me how does dataSize and storageSize related to each other.
[19:41:39] <simpleAJ> that is my small experiment.. i am not able to understand when does exactly mongodb decides to add more storage for the collection
[20:35:02] <evotuned> anyone around? got a quick sharing question
[20:35:28] <evotuned> do i have to drop all current indexes in order to shard?
[21:22:22] <joannac> evotuned: nope. why do you think that?