Live data from Hacker News

MongoDB 1.7.5 Released with single server durability

groups.google.com

11–20 of 24 posts

Re: MongoDB 1.7.5 Released with single server durability

#11
post #4

I think making this an opt in feature is poor strategy. This should be opt out for the people who know what they are doing.

No one is ruling it out as being the default in the future. However 1) it was a pretty major code change and 2) this is the first release to make it publicly available. Do you really want that enabled by default right off the bat?

ya i kinda want 'durability' to be enabled by default, actually

Re: MongoDB 1.7.5 Released with single server durability

#12
It's worth noting that this is not a "stable" release. MongoDB releases with an odd minor version number (1.3, 1.5, 1.7) are unstable development releases, and should be treated as such. 1.8 will be the first official "stable" release with single-server durability.

Re: MongoDB 1.7.5 Released with single server durability

#13
post #11

Earlier quoted context omitted.

No one is ruling it out as being the default in the future. However 1) it was a pretty major code change and 2) this is the first release to make it publicly available. Do you really want that enabled by default right off the bat?

ya i kinda want 'durability' to be enabled by default, actually

I thought the whole idea behind MongoDB is to deploy at scale. In other words, deploy over 100s of boxes and don't worry about RAID, or single sever durability because at that scale any single server is liable to fail so you'll need to ensure platform-wide durability via replication.

MongoDBs killer feature was/is sharding. If your deployment isn't going to require sharding from the get go, then I'm not sure why you'd be attracted to it instead of any of the other more mature alternatives.

Adding single server durability just gives MongoDB more possible use cases (e.g. small site, single server, low overhead enviroment, etc.).

Re: MongoDB 1.7.5 Released with single server durability

#14
Forgive my ignorance, but I had no idea what single server durability was. So I had to look it up. I couldn't find any direct definitions, but from what I read it sounds like it does this:

Single server durability is a disk buffered list of pending writes so if the server reboots while in operation it can just resume where it left off. In larger deployments this risk is handled by having multiple servers running concurrently.

Does this sound right?

Re: MongoDB 1.7.5 Released with single server durability

#15

Forgive my ignorance, but I had no idea what single server durability was. So I had to look it up. I couldn't find any direct definitions, but from what I read it sounds like it does this: Single server durability is a disk buffered list of pending writes so if the server reboots while in operation it can just resume where it left off. In larger deployments this risk is handled by having multiple servers running conc…

Take a look at the documentation for Journaling: http://www.mongodb.org/display/DOCS/Journaling

This covers what MongoDB is doing for durability.

Re: MongoDB 1.7.5 Released with single server durability

#16
post #15

Forgive my ignorance, but I had no idea what single server durability was. So I had to look it up. I couldn't find any direct definitions, but from what I read it sounds like it does this: Single server durability is a disk buffered list of pending writes so if the server reboots while in operation it can just resume where it left off. In larger deployments this risk is handled by having multiple servers running conc…

Take a look at the documentation for Journaling: http://www.mongodb.org/display/DOCS/Journaling This covers what MongoDB is doing for durability.

Thanks that is exactly what I was looking for.

Re: MongoDB 1.7.5 Released with single server durability

#17
post #11

Earlier quoted context omitted.

ya i kinda want 'durability' to be enabled by default, actually

I thought the whole idea behind MongoDB is to deploy at scale . In other words, deploy over 100s of boxes and don't worry about RAID, or single sever durability because at that scale any single server is liable to fail so you'll need to ensure platform-wide durability via replication. MongoDBs killer feature was/is sharding. If your deployment isn't going to require sharding from the get go, then I'm not sure why you…

development agility is a goal of the project too, in addition to scale-out. i've seen a lot of happy users with a single server (or two) and that's all they need.

Re: MongoDB 1.7.5 Released with single server durability

#18
I've always thought the MongoDB database was really good, but has poor drivers for node.js. I've been using node-mongodb-native, and it has basically no documentation. If you want to use a relatively new feature, you have to figure out how to convert from the MongoDB command line syntax in the MongoDB docs, to some syntax that the driver understands (which may sometimes be impossible). If you have poor drivers, even an awesome database won't make up for it.

Re: MongoDB 1.7.5 Released with single server durability

#19

I've always thought the MongoDB database was really good, but has poor drivers for node.js. I've been using node-mongodb-native, and it has basically no documentation. If you want to use a relatively new feature, you have to figure out how to convert from the MongoDB command line syntax in the MongoDB docs, to some syntax that the driver understands (which may sometimes be impossible). If you have poor drivers, even…

It also requires way more nesting than it should, in my opinion. It would be nice to have a synchronous connect method so that I don't have to wrap my entire app in a connect callback.

And I don't see why 'collection' should take a callback either, unless you're in strict mode and querying mongo to see if it exists.

Some people have written higher level APIs on top of node-mongodb-native, two that I have seen are mongoose and mongous. I'm still evaluating them to see what their performance characteristics look like.

Re: MongoDB 1.7.5 Released with single server durability

#20
post #4

I think making this an opt in feature is poor strategy. This should be opt out for the people who know what they are doing.

Durability is a new feature, and should be treated as such. While it is currently not the default, that may change in a later release.

Durability is the new web scale.
Post reply on HN