News for hackers. Stuff that matters.
Re:The Marketing Behind MongoDB by rdtsc on Tuesday August 29, 2017 @12:04PM (#15125212)
Reminder: they shipped with the defaults which basically would throw the data over the wall and never acknowledge it back to the user (because speed and such). Interestingly enough it still called itself a database, and that right there is the power of marketing.
Re:The Marketing Behind MongoDB by nemild on Tuesday August 29, 2017 @12:14PM (#15125298)
My own research doesn't back up that this "unsafe write" was done by 10gen for benchmarking reasons, but rather due to an early expected use case (from a footnote in part 1 of my series):

Waiting for writes was off by default:

> This "unchecked" type of write is just supposed to be for stuff like analytics or sensor data, when you're getting a zillion a second and don't really care [if] some get lost [or] if the server crashes.

This was rarely the typical use case in most startups - even though the defaults were based on it for a long time.

It’s unclear to me how long this was the top Google result, and it was earlier in Mongo’s life (2009). This may be one of the benchmarks that led to anger at competing NoSQL vendors - and seems to me like a mistake rather than a malevolent effort.

https://www.nemil.com/mongo/1.html#fn2

_____________________

MongoDB's CTO has also mentioned that if he could go back and change anything it would be this early default, as his earliest customers valued it - but he quickly realized that it caused issues for others.

(Throughout this series, my goal has been to be tough, but fair to both sides)

Re:The Marketing Behind MongoDB by concede_pluto on Tuesday August 29, 2017 @01:34PM (#15126026)
If your monitoring can't handle your what system is doing, aggregate locally until it can. Having systematically incorrect stats (because loss is correlated with load) is worse than having none.
Re:The Marketing Behind MongoDB by wmf on Tuesday August 29, 2017 @02:52PM (#15126683)
The real question is how many years they left the unsafe default after people pointed out that it was a problem.
Re:The Marketing Behind MongoDB by nemild on Tuesday August 29, 2017 @03:51PM (#15127098)
It took a little while (say 1.5ish year from when they realized it was causing issues). According to MongoDB's CTO, this was because they couldn't quickly move their early users from the behavior they were used to.
Re:The Marketing Behind MongoDB by gaius on Tuesday August 29, 2017 @12:10PM (#15125262)
And the dodgy benchmarks comparing their ability to write to memory with Postgres ability to write to disk!

Fact: Postgres with its JSONB datatype is a better Mongo than Mongo...

Re:The Marketing Behind MongoDB by metheus on Tuesday August 29, 2017 @06:36PM (#15128201)
What you wrote isn't a fact, it's a claim, and a shoddy one at that. If you're basing it on anything other than hearsay, I'd love to see your proof.
Re:The Marketing Behind MongoDB by daenney on Tuesday August 29, 2017 @12:23PM (#15125383)
Source for that fact?
Re:The Marketing Behind MongoDB by takeda on Tuesday August 29, 2017 @03:17PM (#15126858)
This is around the time JSONB was introduced[1].

There was also (not sure if still developed) an interface called ToroDB, which allows you to plug in a MongoDB application to store data in Postgres. The interface provides Mongo compatible layer and the application still thinks it talks with Mongo. Even with the extra translation layer, ToroDB was faster than original MongoDB[2].

[1] https://www.enterprisedb.com/postgres-plus-edb-blog/marc-lin...

[2] https://www.slideshare.net/8kdata/torodb-internals-how-to-cr...

Re:The Marketing Behind MongoDB by metheus on Tuesday August 29, 2017 @06:36PM (#15128204)
That EnterpriseDB benchmark is a comically inept hit piece. See: https://newbiedba.wordpress.com/2017/05/26/thoughts-on-postg...