News for hackers. Stuff that matters.
Re:RethinkDB is shutting down by joneholland on Wednesday October 05, 2016 @09:33PM (#12649464)
A shame that a company like mongo can exist while a company like rethink folds.
Re:RethinkDB is shutting down by guessmyname on Wednesday October 05, 2016 @09:51PM (#12649587)
I believe this is because the Node.JS community still recommends MongoDB as the perfect database engine for their projects. There is even a name for their stack — MEAN, MondoDB + Express.JS + Angular.JS + Node.JS — which is kind of ironic because considering the rapid evolution of the JavaScript ecosystem having an acronym like that will make no sense in a couple of months since now people prefer React-like libraries / frameworks. Besides the JavaScript community I don't know of any other that enjoys to use MongoDB — which to be fair it's not that bad for what it offers, but you know — or ships it by default in bundle installers which are preferred by many young and/or newbie developers.
Re:RethinkDB is shutting down by pluma on Thursday October 06, 2016 @07:55AM (#12651683)
Don't laugh -- there's now a thing called MERN, which is basically MEAN with Angular replaced by React.

The entire sell of MongoDB in the Node community seems to be "it speaks JavaScript and you can store objects in it". Which of course fails to take into account any of the strengths and weaknesses of MongoDB (in the latter case especially the lack of cross-collection transactions or fast joins -- which in my experience account for 90% of the problems Node developers face with MongoDB).

The main reason MongoDB is popular in the Node community is that both reached peak hype around the same time. So it made perfect sense to bundle both of the "hottest" technologies together. Except by the point Angular 1 reached peak hype MongoDB was already facing criticism, so MEAN mostly seems to bask in its afterglow.

If you had asked me last month, my prediction would have been a RethinkDB+Node+React (or RethinkDB+Node+Angular2) stack popping up to challenge MEAN, though the RethinkDB+Node bit seems to have already been addressed by Rethink's own Horizon.

Re:RethinkDB is shutting down by chris_wot on Thursday October 06, 2016 @09:30AM (#12652234)
Could be worse - might be ANGER - Angular.js + Node.js + Grunt + Elixhir + RethinkDB. That might even live up to it's name! Though I guess you could always go full tilt towards insanity and choose MongoDB + Angular.js + Node.js + Grunt + Express.js - MANGE.
Re:RethinkDB is shutting down by bpicolo on Thursday October 06, 2016 @09:01AM (#12652043)
> "it speaks JavaScript and you can store objects in it"

They should just switch to ES clearly.

Re:RethinkDB is shutting down by sotojuan on Thursday October 06, 2016 @12:16AM (#12650211)
FWIW I've been in the Node/JS community for a few years and I've honestly rarely seen MEAN or Mongo be mentioned outside of blogs and corporate Hackathons (where Mongo is usually a sponsor). Maybe companies use it (I rarely pay attention to what people do with Node at companies) but I'll bet it's because of "hype" and its apparent popularity. Most JS devs I follow or talk to use a SQL database and dislike Mongo.
Re:RethinkDB is shutting down by pluma on Thursday October 06, 2016 @03:41PM (#12655432)
I'm somewhat frequently exposed to absolute beginners and MEAN does occasionally pop up as one of the various flavours of "I picked a thing before learning the language, now what?".

Other popular contenders are similar "full stack" or "full featured" solutions like Sails, Meteor and Total.js.

This is generally a result of beginners to Node trying to find something that does everything instead of spending some time learning the basics with a library like Express and going on from there.

Re:RethinkDB is shutting down by vacri on Wednesday October 05, 2016 @10:07PM (#12649676)
Regarding rapid change, I've just come off 90 minutes of troubleshooting, whose end result was "upgrade npm to latest". I've never before used a package manager which had to be so often upgraded to solve issues.
Re:RethinkDB is shutting down by phamilton on Thursday October 06, 2016 @12:25AM (#12650239)
We tried with the REEP stack. RethinkDB, Elixir, Elm, Phoenix.
Re:RethinkDB is shutting down by raarts on Thursday October 06, 2016 @01:55AM (#12650510)
How did that work out?
Re:RethinkDB is shutting down by phamilton on Thursday October 06, 2016 @02:56AM (#12650695)
I should rephrase. We, the community of people using Elm/Elixir/Phoenix/RethinkDB, tried to get the name REEP to catch on.

As far as the stack itself goes, it's wonderful.

Re:RethinkDB is shutting down by nostrademons on Thursday October 06, 2016 @05:10AM (#12651102)
Why not PEER? It's catchier, a common English word, and even kinda fitting given RethinkDB's distribution capabilities. And it has much nicer connotations than the MEAN stack.
Re:RethinkDB is shutting down by v3ss0n on Saturday October 08, 2016 @04:46PM (#12668659)
This is my stack.

TERP Stack : The most adventureous stack for

InTREPid EnTERPreneurs

Tornado RethinkDB Emberjs Python.

LEST GO!

Re:RethinkDB is shutting down by threeseed on Wednesday October 05, 2016 @10:29PM (#12649766)
MongoDB is very popular in the Big Data and IOT spaces.

In most enterprises around 2/3 of the data in the lake is unstructured and comes from multiple systems we don't control or have visibility into. So it just gets dumped into HDFS until someone creates the relevant HCatalog schemas. Having a database like MongoDB at least allows you to extract and access some of the data in an automated fashion e.g. JSON reflection. It's especially useful for adhoc and lightweight model scoring and feature engineering.

Re:RethinkDB is shutting down by toomuchtodo on Wednesday October 05, 2016 @09:35PM (#12649477)
Who says Mongo won't go eventually as well?
Re:RethinkDB is shutting down by bhouston on Wednesday October 05, 2016 @09:36PM (#12649483)
MongoDB is like the Microsoft of operating systems. Well promoted and easy to get going with. Hopefully they use the money they have to rewrite MongoDB to be better.
Re:RethinkDB is shutting down by toomuchtodo on Wednesday October 05, 2016 @09:38PM (#12649494)
Okay...but if Rethink couldn't make their business self-sustaining, why would Mongo when there are a plethora of other open source databases/datastores that can do Mongo's job better than Mongo?

EDIT: We'll just wait for Mongo to burn through all their cash then.

Re:RethinkDB is shutting down by omginternets on Wednesday October 05, 2016 @09:44PM (#12649543)
Because having the better product (often) doesn't matter: see Windows vs Apple in the early days.

Mongo has a strong community, which translates into a plethora of articles/blog-posts/tutorials/etc that secures its niche. From there it's possible to make money with things like consulting fees to help fix the problems it created in the first place.

It's all about execution. Case and point: I know what (purportedly) makes MongoDB special. I have no idea what RethinkDB is supposed to do, other than store data. Yes, I could check their site, but the point is I'm already familiar with Mongo's reputation. All of this contributes to a lesser product winning over a better one.

Re:RethinkDB is shutting down by vacri on Wednesday October 05, 2016 @10:22PM (#12649731)
At my last workplace, I finally asked: "Since you guys bitch about mongo so much, why do we use it? Why not something else?". Response: "It's not actually that bad, it does the job".

Half the crap people speak about Mongo seems to be from either the early days, or from people who just like to complain. It certainly has it's issues, but there doesn't seem to be much community will to replace it with $superdupernosqldb.

Re:RethinkDB is shutting down by tinco on Thursday October 06, 2016 @04:46AM (#12651021)
Despite some of it's crappiness MongoDB actually has a bunch of features that other databases (such as PG) don't such as easy to set up sharding and replication.

We run Mongo side by side with PG, and even though the PG is just replicated and not also sharded like our Mongo cluster is, Mongo was more easy to configure.

I think MongoDB's biggest problem is that it was marketed as the general purpose DB in the Node.js community when actually it is a specialised tool. So now you have thousands of developers wondering why they're on this weirdly behaving document store when they could've scaled fine on something more generic like PG.

More on topic: RethinkDB was aiming to be the best of both worlds, generic like PG yet document oriented and horizontal scaling like Mongo. I think their problem is that they didn't manage to pierce the communities. It would have gone better if they had evangelists for every major platform that just produced a stream of blog posts, small open source projects and tools and crashed random meet ups.

Re:RethinkDB is shutting down by erikpukinskis on Thursday October 06, 2016 @12:29AM (#12650261)
I think Mongo lives in the "we probably shouldn't have chosen this, but it feels scarier to try to tear it out than to make do" place.
Re:RethinkDB is shutting down by omginternets on Wednesday October 05, 2016 @10:37PM (#12649795)
Also not the point.
Re:RethinkDB is shutting down by vacri on Wednesday October 05, 2016 @11:11PM (#12649949)
I thought I was supporting your argument about network effects and will to change.
Re:RethinkDB is shutting down by tracker1 on Wednesday October 05, 2016 @09:58PM (#12649641)
Well, real streaming queries, not just oplog tails for starters... a document database with the ability to do on-server joins. There's a few other things, but those are the two biggest ones over most others in the same mold... All that applies to Mongo, applies to rethink.

Oh, yeah... and the ability to do shard + redundancy, where mongo you're either or have to do both. So scaling works a bit better. The admin tooling for rethink is better than anything I've really used in non-sql databases. And frankly even better than db admin tools, including sql based ones.

It's just a really great, stable database with really good scaling for the majority of use cases.

Re:RethinkDB is shutting down by omginternets on Wednesday October 05, 2016 @10:00PM (#12649644)
That really wasn't the point.
Re:RethinkDB is shutting down by roel_v on Thursday October 06, 2016 @12:17AM (#12650217)
*case in point

(sorry)

Re:RethinkDB is shutting down by manigandham on Wednesday October 05, 2016 @09:42PM (#12649525)
Business is about more than just the product, even if that product is better than the competitors.
Re:RethinkDB is shutting down by threeseed on Wednesday October 05, 2016 @10:17PM (#12649706)
MongoDB is killing it in the Big Data space right now with excellent integrations with Spark and Hadoop, strong relationships with Hortonworks and Cloudera and really good enterprise support. I know many Fortune 500 companies and equivalents overseas who are customers.

But please enlighten us poor fools which open source databases can compete with MongoDB in this space. It sure as hell isn't PostgreSQL.

Re:RethinkDB is shutting down by toomuchtodo on Wednesday October 05, 2016 @10:26PM (#12649755)
But are people paying for it if MongoDB is "killing it". If not, no business model.
Re:RethinkDB is shutting down by threeseed on Wednesday October 05, 2016 @10:44PM (#12649831)
Yes. Enterprise companies are paying for it many you would know e.g. eBay, LinkedIn, Adobe etc.

In Big Data specifically when we are spending tens of millions on Hadoop/Spark/NVidia clusters buying a few extra licenses for MongoDB is nothing. And what makes Big Data even more compelling for database vendors is that often by law or for privacy reasons we are forced to run everything inhouse i.e. strictly no cloud.

Re:RethinkDB is shutting down by haimez on Wednesday October 05, 2016 @11:14PM (#12649968)
You are a gem.
Re:RethinkDB is shutting down by colemickens on Wednesday October 05, 2016 @09:46PM (#12649557)
>MongoDB is like the Microsoft of operating systems.

I'm not a Windows fan, but that's harsh. http://cryto.net/~joepie91/blog/2015/07/19/why-you-should-ne...

Re:RethinkDB is shutting down by threeseed on Wednesday October 05, 2016 @10:21PM (#12649724)
That post is utter garbage. Seriously.

Most of the the points are for issues that were fixed years ago and then you get classics like "forces the poor habit of implicit schemas in nearly all usecases" as if some developer is going to somehow stumble on the fact is it a schemaless database.

It's like trying to say "Linux is shit" because of issues found in 1.0 of the kernel.

Re:RethinkDB is shutting down by colemickens on Thursday October 06, 2016 @05:43AM (#12651238)
Normally when things are citing @aphyr, I tend to give them some weight, but even aphyr's post is rather old. Thanks for the heads up, I'll do more investigation before posting the link again.
Re:RethinkDB is shutting down by 010a on Wednesday October 05, 2016 @11:27PM (#12650032)
Most of those points are fearmongering, outdated, opinions, or improperly cited. Every database has problems. Mongo has more than most. But I honestly think people dislike it so vehemently primarily because they've monetized so strongly.
Re:RethinkDB is shutting down by threeseed on Wednesday October 05, 2016 @10:13PM (#12649691)
They largely did with version 3.0 when they switched to Wiredtiger.

https://objectrocket.com/blog/company/mongodb-wiredtiger

It's made a massive difference to performance and stability.

Re:RethinkDB is shutting down by tshannon on Wednesday October 05, 2016 @11:36PM (#12650062)
Sounds like it hasn't helped with consistency

https://aphyr.com/posts/322-jepsen-mongodb-stale-reads

Re:RethinkDB is shutting down by threeseed on Wednesday October 05, 2016 @11:42PM (#12650091)
No a storage engine change doesn't help with consistency.

This is the JIRA tracking that Jepsen stale read issue: https://jira.mongodb.org/browse/SERVER-17975

Re:RethinkDB is shutting down by tshannon on Thursday October 06, 2016 @09:54AM (#12652422)
Yeah I'm glad to see the reopened it, because it was kind of a dick move to mark it as working as designed - https://jira.mongodb.org/browse/SERVER-17975?focusedCommentI...
Re:RethinkDB is shutting down by tszming on Wednesday October 05, 2016 @11:11PM (#12649950)
As a product creating so much job opportunities gloablly and didn't take you $0.01, I would like to ask: How shameful is it?