News for hackers. Stuff that matters.
Re:The growing irrelevance of MongoDB by jraedisch on Wednesday January 14, 2015 @02:52AM (#8884886)
If transactions are the biggest problems, there are driver solutions like http://godoc.org/labix.org/v2/mgo/txn for that. I am not sure, how they compare to "real" transactions. Still missing "joining" in some cases though. Otherwise I am ok with MongoDB so far.
Re:The growing irrelevance of MongoDB by politician on Wednesday January 14, 2015 @03:44AM (#8885027)
Jeez. Please do not mention client-library-managed transactions and then put "real" transactions in scare quotes. At least read the Wikipedia article first.
Re:The growing irrelevance of MongoDB by jraedisch on Wednesday January 14, 2015 @06:57AM (#8885680)
I just wanted to distinguish between the two. I wasn't scared in any way but read up on scare quotes now - so thanks for that. http://en.wikipedia.org/wiki/Scare_quotes
Re:The growing irrelevance of MongoDB by StavrosK on Wednesday January 14, 2015 @07:11AM (#8885723)
I didn't read it like that at all, I interpreted it as the gp distinguishing between the two.
Re:The growing irrelevance of MongoDB by stephen123 on Wednesday January 14, 2015 @03:42AM (#8885012)
If another host connects to the db, and the transaction doesn't span to that second host. Its not as safe as sql transactions.
Re:The growing irrelevance of MongoDB by niemeyer on Wednesday January 14, 2015 @08:34AM (#8886075)
The transaction does span across hosts with the linked package.
Re:The growing irrelevance of MongoDB by niemeyer on Wednesday January 14, 2015 @08:41AM (#8886120)
There are further details about how it works in this blog post:

http://blog.labix.org/2012/08/22/multi-doc-transactions-for-...

While it does work, it's still a workaround for the lack of first-class transactions in MongoDB. It offers a more limited API and requires care on the developer side.

Despite being the author, I do hope it gets obsoleted by more convenient first-class transaction support in MongoDB itself at some point in the near future.