this post was submitted on 12 Mar 2024
8 points (100.0% liked)
Guix
274 readers
1 users here now
Guix is an advanced distribution of the GNU operating system developed by the GNU Project
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm guessing you responded to the wrong comment, but
Huh?
My bad, I should have been more clear. What I should have said is that the issue with MongoDB on Nixpkgs is the SSPL license, meaning that you will have to build MongoDB on your own system. It requires at least 16GB of RAM. For someone with a low-end device, it is simply not feasible to use that as a solution.
Btw, I should have also mentioned the context about MongoDB - I wanted to package a NodeJS app with MongoDB, but either way (Guix or Nixpkgs), I'm stuck without a proper solution.
And docker is...I kinda find it irritating. Just picked Postgres instead.
What do you mean? I just tried installing it through
nix shell nixpkgs#mongodb
and it used like 1gb of ram while building. It definitely doesn't take that much to run it, as the free instances are a lot smaller. I've got 0 experience hosting it though, we only used the official cloud solutions at my previous job.If you just need a simple local DB to distribute with your app, isn't sqlite the best?
Sure, but it's the industry standard for a reason.
I'm talking about this: https://github.com/NixOS/nixpkgs/issues/258489. This issue has still not been resolved.
I also want to deploy them, so SQLite isn't ideal in that case. Honestly, I'm in favor of FerretDB, now that I've realized how convenient it is as a MongoDB-compatible replacement.