Reputation: 9570
These are newb questions, I'm sure, so let's get this out of the way sooner rather than later: I'm new to MongoDB.
Does MongoDB guarantee that an entry will be saved? E.g. if I have a process load 1,000,000 objects into MongoDB, am I guaranteed that they will all load properly or at least retry / raise an error when an error occurs?
Is NumberLong only for integers? What if I wanted to use high precision decimals?
I know V8 / SpiderMonkey can be just as fast as C, but has anyone done any benchmarks for calculations of data in MongoDB? For example, if I wanted to find the average over those 1,000,000 items I loaded in 1, I could probably do it in a map-reduce way with any programming language... have people run in to any trouble with using JavaScript with MongoDB? What do you think?
Upvotes: 4
Views: 218
Reputation: 7612
The storage system guarantees that if no new updates are made to the object, eventually all accesses will return the last updated value.
Thanks
Upvotes: 1
Reputation: 41872
Upvotes: 1