MongoDB support
Hello,
I would like to know if you are planning to support MongoDB. Also, can the database be run on Ubuntu or a Docker service?
I have attempted this setup but encountered issues, and I don't know if it's worth investing more time into it. Even If I start the database, I'm uncertain how to work with the data stored in the service. Specifically, will the data be persistent if I restart the service?
Thank you.
Václav
4 Replies
Hey, Mongo license doesn't allow us to provide it as a service, running it yourself on a container is not an option due to volatility of containers (you could utilize a shared storage which mounts a persistent disc to a container, but it's still not a solution you want for something like a database).
FerretDB (https://www.ferretdb.com) seems like a good option, it essentially builds Mongo compatible API on top of Postgres, we had an example working on some of their older versions, but haven't tried since.
We can try getting it up to date https://github.com/fxck/recipe-ferretdb/blob/main/zerops.yml
Thank you. I thought so.
I have tried the new version of FerretDb on my local machine, but there is an issue that has not yet been documented (https://github.com/FerretDB/FerretDB/issues/4957). However, I will try again, and hopefully, it will support all the MongoDB features we currently use.
GitHub
Issues · FerretDB/FerretDB
A truly Open Source MongoDB alternative. Contribute to FerretDB/FerretDB development by creating an account on GitHub.
FerretDb is not an option for me. I managed to run the new version (2.0) on my localhost, but it is very slow compared to MongoDB.
That's unfortunate 😦 too bad Mongo decided to go this route.. but then again, Elastic did as well and they eventually reverted back to the open source license, so maybe one day.
We could add Mongo service with the version prior to the license change, but that would be pretty outdated by now, so not the best option either.