Cool new Free software
Posted Dec 19, 2012 13:04 UTC (Wed) by
macson_g (subscriber, #12717)
In reply to:
Cool new Free software by man_ls
Parent article:
Status.net service to phase out, replaced by pump.io
Node.js is nice indeed, but there is no way MongoDB could beat PostgreSQL.
I've been doing some benchmarks recently, and Postgres is no slower than Mongo, and in case of querying it's usually much faster. Even when querying for content of JSON fields.
Feature-wise, nothing beats Postgres. Document oriented, schemaless storage can be easily achieved by using the newly introduced JSON data type and server-side JavaScript, as described in this blog post.
One can also store BSON objects in Postgres, in binary ("bytea") fields. I wrote a simple C++ extension allowing for reading the fields of BSON objects. It's ~20 lines of code.
And all the other things: reliability, configurability, quality of the driver and documentation, extensibility... MongoDB has a long way to go. But then again: Mongo is hip and cool and 2.0 and whatnot.
(
Log in to post comments)