News for hackers. Stuff that matters.
Re:FerretDB: A truly open-source MongoDB alternative by toshk on Wednesday December 08, 2021 @05:39AM (#29483186)
I always find it very brave those who decide to use a newly created database in their projects.
Re:FerretDB: A truly open-source MongoDB alternative by cpursley on Wednesday December 08, 2021 @06:40AM (#29483589)
I typically agree but this is based on Postgres which is nearly always a solid bet.

Postgres jsonb works well enough for me - but this looks like a good alternative for Mongo people.

Re:FerretDB: A truly open-source MongoDB alternative by tgv on Wednesday December 08, 2021 @07:52AM (#29484112)
It's of course the translation that can contain bugs. Dumb error in a date conversion? Your accounting no longer works.
Re:FerretDB: A truly open-source MongoDB alternative by christkv on Wednesday December 08, 2021 @09:42AM (#29485236)
That and significant differences in performance for more complex operations like the aggregation framework
Re:FerretDB: A truly open-source MongoDB alternative by tgv on Thursday December 09, 2021 @03:12AM (#29495027)
Curious about that. I recently made something similar, but for SQLite w/JSON. The backend can use a local sqlite3 file instead of mongodb, while using the same queries. It can only translate the queries we actually use, but it's quite doable to translate $lookup, $group and $project to their SQL equivalents (which were the inspiration for the aggregation in the first place, IIRC). Initial evaluation shows that the performance is quite good, and the translations look decent, so it might be possible to get some mileage out of ferretdb.
Re:FerretDB: A truly open-source MongoDB alternative by toshk on Wednesday December 08, 2021 @09:46AM (#29485283)
Yeah seems like a mix between a ORM and a Database, not sure how much they can let postgres solve. But I agree when I look into it, it's bit less scary then a competely new database.
Re:FerretDB: A truly open-source MongoDB alternative by charcircuit on Wednesday December 08, 2021 @06:42AM (#29483599)
PostgreSQL isn't a "newly created database"
Re:FerretDB: A truly open-source MongoDB alternative by funnyflamigo on Wednesday December 08, 2021 @09:39AM (#29485199)
> FerretDB is an open-source proxy, converting the MongoDB wire protocol queries to SQL - using PostgreSQL as a database engine.

Based on this description I'd agree that FerretDB isn't a database itself. However the conversion between the MongoDB wire protocol to SQL queries could have bugs, data resiliency could be an issue if you need to guarantee writes, No guarantees of on-going support, etc.

New db's are always welcome but to use a brand new one in production would be very.... bold.

Re:FerretDB: A truly open-source MongoDB alternative by belter on Wednesday December 08, 2021 @06:40AM (#29483591)
The humor is strong in you fellow Jedi