Could someone with Mongo experience help me gut-check this? I want my data store to be durable and unsurprising -- barring a hardware failure or such, if I submit data it should either tell me that it failed to commit or it should be stored durably and without surprises (e.g., it should not truncate a long string to fit). I've read some of the Mongo docco, and it's pretty exciting, but the lack of ACID -- primarily t…
MongoDB 1.8 (stable) released
31–40 of 69 posts
Re: MongoDB 1.8 (stable) released
#32But is it web scale?
Re: MongoDB 1.8 (stable) released
#33MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
It's very fast and the flexible schema makes the code much more flexible and easy to write. And did i mention it was fast?
You should definitely give it a try and consider using it for such systems.
My only issue with it is that i am running it on a 32-bit system and so i'm limited to 2GB a database.
Re: MongoDB 1.8 (stable) released
#34MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
Re: MongoDB 1.8 (stable) released
#35MongoDB is not something I have a good handle on yet. What's its sweet spot? Where should I consider using it instead of Postgres?
If you are working with location data, Mongo has built in geospatial indexing built in since 1.4 (earlier in the unstable builds) - http://www.mongodb.org/display/DOCS/Geospatial+Indexing which has been a big draw for a number of people I know using it (it looks like 1.8 brings spherical distances to the stable branch which makes the geo lookups a lot more useful if you need accurate distances and not just near by lo…
Re: MongoDB 1.8 (stable) released
#36Re: MongoDB 1.8 (stable) released
#37Could someone with Mongo experience help me gut-check this? I want my data store to be durable and unsurprising -- barring a hardware failure or such, if I submit data it should either tell me that it failed to commit or it should be stored durably and without surprises (e.g., it should not truncate a long string to fit). I've read some of the Mongo docco, and it's pretty exciting, but the lack of ACID -- primarily t…
For example in the PHP driver, calling insert with the safe option. http://www.php.net/manual/en/mongocollection.insert.php
"If safe is an integer, will replicate the insert to that many machines before returning success (or throw an exception if the replication times out, see wtimeout)."
You can then immediately called http://www.php.net/manual/en/mongodb.lasterror.php to confirm the last operation didn't error.
Re: MongoDB 1.8 (stable) released
#38Could someone with Mongo experience help me gut-check this? I want my data store to be durable and unsurprising -- barring a hardware failure or such, if I submit data it should either tell me that it failed to commit or it should be stored durably and without surprises (e.g., it should not truncate a long string to fit). I've read some of the Mongo docco, and it's pretty exciting, but the lack of ACID -- primarily t…
The mailing list is a great place for this type of question, too (http://groups.google.com/group/mongodb-user).
Re: MongoDB 1.8 (stable) released
#39I was really hoping for full-text search support, but I understand the team is busy :/