Live data from Hacker News

The growing irrelevance of MongoDB

itexto.com.br

111–114 of 114 posts

Re: The growing irrelevance of MongoDB

#111
post #109

Earlier quoted context omitted.

> If this is not possible, we have app-level locking to avoid conflicts. app-level locking is a recipe for disaster if data matters and more than 1 process/user/client/etc can access your data. if the data doesn't matter then I guess you can do whatever you want. web "developers" have a bad reputation for a reason. so many amateurs amongst web developers...

I will assume the last part is just a generic statement and is not directed towards me. You are a Java dev I presume? As for app-level locking, I am talking about sacrificing performance, not safety. We just make sure that some piece of code runs exactly once. Since the need for this is very rare and the places are not performance critical, we can live with that. So no, we have no need for additional transactional gu…

> I will assume the last part is just a generic statement and is not directed towards me.

It's most definitely directed at you.

> You are a Java dev I presume?

C#/C++. Though I've worked with java before amongst others.

> As for app-level locking, I am talking about sacrificing performance, not safety.

You are sacrificing both. Only idiots truly depend on app-level locking.

> We just make sure that some piece of code runs exactly once.

Amateur hour...

> Since the need for this is very rare and the places are not performance critical, we can live with that. So no, we have no need for additional transactional guarantees on DB level.

So it's a useless pointless trivial application...

Re: The growing irrelevance of MongoDB

#112
post #11

MongoDB 2.8 (in RC4 right now, due out "in early January" last I heard) has the WiredTiger storage engine, and as well as high performance and compression also gets document level locking and multi document transactions. The roadmap says this'll become the default storage engine in 3.0 (3rd quarter 2015). I think the blog author's claim that for basically those omissions "MongoDB can still beat TokuMX on a future rel…

Could you provide a source for "multi document transactions" support in 2.8? According to this comment they are supported by WiredTiger but won't be in the MongoDB API anytime soon: http://blog.mongodb.org/post/102461818738/announcing-mongodb...

you are correct, that's not in 2.8. might want to follow this jira: https://jira.mongodb.org/browse/SERVER-11500

that said it will be a big release in other aspects, with pluggable storage engines now, and WiredTiger specifically.

Re: The growing irrelevance of MongoDB

#113
post #109

Earlier quoted context omitted.

I will assume the last part is just a generic statement and is not directed towards me. You are a Java dev I presume? As for app-level locking, I am talking about sacrificing performance, not safety. We just make sure that some piece of code runs exactly once. Since the need for this is very rare and the places are not performance critical, we can live with that. So no, we have no need for additional transactional gu…

> I will assume the last part is just a generic statement and is not directed towards me. It's most definitely directed at you. > You are a Java dev I presume? C#/C++. Though I've worked with java before amongst others. > As for app-level locking, I am talking about sacrificing performance, not safety. You are sacrificing both. Only idiots truly depend on app-level locking. > We just make sure that some piece of code…

Incredible, I am being judged by someone on Internet... How will I survive this?

Another day, another idiot, I guess. (and yes, the term is definitely directed at you - if you still follow this throwaway account anyway)

Re: The growing irrelevance of MongoDB

#114
post #9

I have seen many people try and shoehorn various problems into MongoDB, when in most cases a relational database would have been better suited. I have yet to see a real use case for Mongo unless you are building a Facebook clone. Can someone suggest when it is actually useful over a properly tuned relational database? I guess I kind of reached the irrelevance stage just thinking about the sort of problems it would be…

> I have seen many people try and shoehorn various problems into MongoDB MongoDB is easy and was used by web "developers" too lazy to learn SQL and RDBMs. MongoDB is fine if you don't really care about the data. If you don't need ACID compliance and can afford to lose transactions.

/dev/null would be faster in those cases
Post reply on HN