News for hackers. Stuff that matters.
Re:Ask HN: Do you still use MongoDB? by pschlump on Friday May 22, 2020 @07:03AM (#23270754)
No - Postgres is faster and it has JSONB. (It also has tables and SQL and GIS and ...)
Re:Ask HN: Do you still use MongoDB? by threeseed on Friday May 22, 2020 @07:27AM (#23270908)
Can you provide benchmarks showing PostgreSQL is faster ?

Because from my experience MongoDB was at least 10x faster and all of the benchmarks I've seen were using pre-WiredTiger storage engine.

Re:Ask HN: Do you still use MongoDB? by dajonker on Friday May 22, 2020 @07:47AM (#23271063)
There's no reasonable way to compare performance between PostgreSQL and MongoDB because they're not the same kind of product and they don't have a similar query interface.

You can take a particular application and compare performance when using two different databases on the back-end, but then the database itself might not necessarily be your bottleneck, it might also be the way the application is written. Because the database is only a part of the equation, the comparison also doesn't tell you anything about the performance of any other application.

Re:Ask HN: Do you still use MongoDB? by takeda on Friday May 22, 2020 @10:48AM (#23272699)
You can get amazing performance results if you don't care about data persistence. Anyway when postgresql introduced JSONB there was a benchmark for CRUD operations, can't find it now, because it was long time ago, but I remeber postgresql was doing circles around mongodb.