News for hackers. Stuff that matters.
Re:MongoDB shares jump more than 30% in $192M IPO by hamandcheese on Thursday October 19, 2017 @04:48PM (#15511416)
Which NoSQL would you prefer over mongo?
Re:MongoDB shares jump more than 30% in $192M IPO by Jach on Thursday October 19, 2017 @05:12PM (#15511593)
Literally any other. I'm unaware of any alternative so unreliable.

But I do think http://www.scylladb.com/ is great.

Re:MongoDB shares jump more than 30% in $192M IPO by qohen on Thursday October 19, 2017 @06:12PM (#15511987)
Literally any other. I'm unaware of any alternative so unreliable.

There was a post on LinkedIn last year, "MongoDB: The Frankenstein Monster of NoSQL Databases"[0], by the CTO of SlamData, which I think produces an analytics package for MongoDB or the like.

The piece is an interesting dive into why MongoDB is what it is (at least as of March 2016) -- and given his connection to MongoDB and its employees -- being a partner of theirs -- it's quite eye-opening (and I'm surprised with almost 200 comments in this thread that no one posted it previously):

Much like Mary Shelly’s Frankenstein monster, MongoDB’s data access layer is sewn together from ragged pieces that don’t fit together. Pieces that were never designed to fit together.

The result, depending on your point of view, is either an Enterprise-grade NoSQL database destined to supplant Oracle, or an unholy abomination of nature, deserving of an angry mob bearing torches and pitchforks.

Let me dissect this creature so you can decide for yourself.

[0] https://www.linkedin.com/pulse/mongodb-frankenstein-monster-...

Re:MongoDB shares jump more than 30% in $192M IPO by qohen on Thursday October 19, 2017 @06:24PM (#15512065)
Another post[0] by the same author complements the one I posted above -- this is more recent and is focused more on MongoDB's moves as a company, relating what he saw at MongoDB World 2017):

You might expect a database company to announce improved scalability, reliability, or performance. Or perhaps announce some of the countless features that users have been requesting for years, which are collecting dust in MongoDB's ever-growing issue tracker.

These are sane, logical expectations for a database company, so you'd be forgiven for being shocked at MongoDB's announcements that the company is investing massively into every product category except database technology.

Yet, to those who know MongoDB's troubled history, these announcements come as no surprise. In fact, I even predicted the launch of Stitch just over a year ago, at the last MongoDB World.

MongoDB didn't start as a database company, it's never acted like a database company, and in my opinion, it doesn't really have the DNA of a database company.

If his assessment in this next snippet is correct, one wonders about those who invested in this IPO:

MongoDB has no ecosystem. There are no analytics tools for MongoDB (except SlamData [N.B. this is the author's company] ), no backup software, no recovery software, no data integration software, no query optimization software, no data management software, nothing. Zilch.

There's just MongoDB.

In hindsight, this is an inevitable consequence of a company without database DNA trying to build and monetize a database. MongoDB couldn't figure out how to build an Oracle-sized empire on a database—partially, I'd argue, because they couldn't figure out how to build a database—yet they have to hit their sales quotas.

If you can't sell the database at scale, you end up trying to build and sell an ecosystem around the database. Slowly, bit by bit, MongoDB went after their early partners, trying to put them all out of business to drive a few million here and there.

The result is a "database company" that sells everything under the sun, including database management tools, data exploration tools, cloud hosting tools, cloud hosting services, and soon, BaaS (Bubble makes a return!) and BI software. Everything except, you know, a database.

[0] https://www.linkedin.com/pulse/mongodb-world-2017-lonely-sto...

Re:MongoDB shares jump more than 30% in $192M IPO by fanbouey on Friday October 20, 2017 @01:45AM (#15513741)
Re:MongoDB shares jump more than 30% in $192M IPO by programmarchy on Thursday October 19, 2017 @05:40PM (#15511768)
Couchbase has a pretty nice mobile sync system, with clients for both Android and iOS.
Re:MongoDB shares jump more than 30% in $192M IPO by HodGreeley on Thursday October 19, 2017 @06:34PM (#15512115)
Just want to note Couchbase is not just for mobile. Couchbase Server is an enterprise-class document-oriented (like Mongo) db with a dynamic query language that's a superset of SQL. (FD: I work for Couchbase).
Re:MongoDB shares jump more than 30% in $192M IPO by revel on Thursday October 19, 2017 @09:13PM (#15512890)
I started a company and chose couchbase. We haven't launched yet, so I've been using the community version and cobbling stuff together.

In this context: please, for the love of God, improve your documentation and dev tools. I love the underlying technology but my experience getting a basic service up and running has been pretty mixed. One of the reasons mongodb has been so successful is that there's 50 bajillion articles showing you how to hack up some crappy code that roughly does what you need it to do. Some of those articles are less bad than others, but in a pinch you can find something to at least get you on the right track. Couchbase doesn't have that deep well of experience to draw on. If you run into a problem, or experience strange behavior, it's up to you to figure out what's going on. That would be ok, but even the official documentation and standard dev tools are not good enough. To get people to adopt couchbase you need to do more to get them started.

Javascript-specific whining: it's particularly frustrating to find an official ODM like ottoman and discover that half the features don't work and that there are tons of bugs that haven't been fixed for about a year. These aren't minor bugs either; some of them stop you using headline features. Forget full text search, N1QL is mostly unusable! Check out ottoman bug #153 for details there.

Re:MongoDB shares jump more than 30% in $192M IPO by fermuch on Thursday October 19, 2017 @05:47PM (#15511815)
The problem I found with couch is handling user permissions at database level. Except for that detail, it's one of the best databases I've ever used.
Re:MongoDB shares jump more than 30% in $192M IPO by programmarchy on Thursday October 19, 2017 @06:01PM (#15511901)
With the sync gateway you get pretty fine grained control. Every create or update goes through a sync function you can define in JavaScript which can deny requests. You can control which users see what by assigning the document to channels. So a user can only pull down documents if that document is on a channel they have access, too.

The issue I've found with the sync gateway is that the queries you can perform are more limited than what you can do directly on a Couchbase store e.g. joining data is difficult.

BTW, Couchbase should not be confused with CouchDB. Similar name and might have some history in common, but Couchbase is more fully featured.

Re:MongoDB shares jump more than 30% in $192M IPO by beamatronic on Thursday October 19, 2017 @06:18PM (#15512032)
Agree, and also I would distinguish between Couchbase Enterprise Edition versus Community Edition.
Re:MongoDB shares jump more than 30% in $192M IPO by milkytron on Thursday October 19, 2017 @05:15PM (#15511611)
Cassandra is a pretty good alternative if you're looking for excellent write speeds and scalability.
Re:MongoDB shares jump more than 30% in $192M IPO by rosser on Thursday October 19, 2017 @06:08PM (#15511954)
We're using Cassandra at scale (~1M concurrent users at peak). It is, in our experience, an absolutely terrible piece of software.

The development community doesn't seem to care about fixing bugs, and when they do fix things, they reliably introduce new, often devastating defects. "Move fast and break things" is unforgivable at the persistence layer. We're stuck using an ancient, unsupported version, because it is, per our empirical testing, the least bad. But we made that choice, and for now we're stuck with it.

Please, let our pain be a lesson to you. I am totally willing to be someone else's "That's how you get ants..." on this point. Our emoji for it in Slack is a burning poo. It's that bad.

EDIT: phrasing.

Re:MongoDB shares jump more than 30% in $192M IPO by KGIII on Thursday October 19, 2017 @10:22PM (#15513135)
I am not a DBA, obviously. I did have to work as one, but that was a lot of years ago. So, pardon me if this is a dumb question.

You say you're stuck with it. Can't you just change a few things, shut down for a little while, export your data, and insert it into a new DB? I know it is hard to do it with writes happening at the same time, but it seems like you could freeze it as read only, extract the data, and put it into a DB that has been prepped ahead of time and tested.

I know we did this more than once BUT it wasn't with public facing data and we were able to migrate while still working on existing data. We just couldn't add more data while doing so.

Re:MongoDB shares jump more than 30% in $192M IPO by rosser on Friday October 20, 2017 @11:54AM (#15516738)
No, it is not that simple. "We just couldn't add more data while doing so" is, by itself, a deal-breaker.
Re:MongoDB shares jump more than 30% in $192M IPO by gerbilly on Thursday October 19, 2017 @08:03PM (#15512590)
>We're stuck using an ancient, unsupported version, because it is, per our empirical testing, the least bad. But we made that choice, and for now we're stuck with it.

Which is this least bad version, if you don't mind my asking?

Re:MongoDB shares jump more than 30% in $192M IPO by rosser on Friday October 20, 2017 @11:56AM (#15516765)
2.2 causes us the least pain.
Re:MongoDB shares jump more than 30% in $192M IPO by munk-a on Thursday October 19, 2017 @06:29PM (#15512093)
I work on more mature projects so I've never used a pure NoSQL environment but I do enjoy working with a split cache/persistence layer approach combining a RBMS (preferring PostgreSQL) behind a cache layer (preferring libmemcached).
Re:MongoDB shares jump more than 30% in $192M IPO by xchaotic on Thursday October 19, 2017 @08:23PM (#15512675)
Marklogic has a much better design when it comes to durability of writes and ACID in general. Disclosure: I work for Marklogic.
Re:MongoDB shares jump more than 30% in $192M IPO by gilbetron on Thursday October 19, 2017 @06:25PM (#15512071)
Druid works far better for our uses.
Re:MongoDB shares jump more than 30% in $192M IPO by newman8r on Thursday October 19, 2017 @06:21PM (#15512051)
I've been enjoying using ArangoDb
Re:MongoDB shares jump more than 30% in $192M IPO by aorloff on Thursday October 19, 2017 @05:16PM (#15511623)
Aerospike for low-latency small row sizes, HBase for everything else.