Unsolved MongoDB 6.X at installation


  • Hello, formal documantation say install mongodb 5.0 but I setup nodebb with mongodb 6.0 without error. Just I gave 404 assets error and probably that was caused by miss nginx configuration. Why you dont recommanded mongodb 6.x ?

  • Community Rep

    @ayyilmaz I cannot speak for the NodeBB folks but I suspect many of us are looking to transition off of MongoDB over to PostgreSQL since mongo is no longer released under a OSI approved license. To be fair, an argument may be made that the license change still allows free use for non hosting as service types of deployments and hence no big deal for forum operators. Of course the rebuttal to that argument is that there is no assurance Mongo will not take additional measures to further restrict their license in the future. The old "Screw me once, shame on you. Screw me twice, shame on me.".

    tl;dr-- I will likely be using PostgreSQL moving forward and thus not bothered to test recent versions of MongoDB. If it works for you and you are okay with mongo's licensing then maybe stick with what you know?

  • NodeBB Admin

    6.x should work without issue, feel free to send a pull request to update the docs


  • @gotwf said in MongoDB 6.X at installation:

    tl;dr-- I will likely be using PostgreSQL moving forward and thus not bothered to test recent versions of MongoDB. If it works for you and you are okay with mongo's licensing then maybe stick with what you know?

    I too would prefer PostgreSQL - mostly for the familiarity aspect, but only if there is a conversion tool in the works.


  • @phenomlab I seem to recall that there is/was? It has been a while since I looked though and am unable to locate the link at present.


  • @gotwf I thought that was the case also, but like yourself, I can't find it


  • I have installed on mongodb 6.x without any problem. Thank you.

    Will the shifting of mongodb to postgresql cause to decreasing of performance? Postgresql is advanced dbms as I know but I dont know its speed if we compare mongodb. I loved current state and speed of nodebb. Does this changing effects the performance as radical?

  • GNU/Linux Admin

    @ayyilmaz Not anything that you'll really notice. It could be that yes, psql will be a couple ms slower here and there, but the bottleneck has never been the database, it's usually been the browser or server-side code.

    As it turns out, people who write databases have a really vested interest in making the database really fast 😄


  • @julian said in MongoDB 6.X at installation:

    As it turns out, people who write databases have a really vested interest in making the database really fast

    Not the case for MySQL / MariaDB with PHP 🙂

  • GNU/Linux Admin

    🔥

    It's been many years since I wrangled SQL... and back then, my code was the bottleneck, such as it is today hehe


  • @julian said in MongoDB 6.X at installation:

    @ayyilmaz Not anything that you'll really notice. It could be that yes, psql will be a couple ms slower here and there, but the bottleneck has never been the database, it's usually been the browser or server-side code.

    As it turns out, people who write databases have a really vested interest in making the database really fast 😄

    postgres is many times more productive than mongodb, consumes much less RAM and takes up much less disk space. And with the release of version 15, it's out of the question that postgres is slow. It's absurd that postgres is slower than mongodb


  • @volanar said in MongoDB 6.X at installation:

    It's absurd that postgres is slower than mongodb

    Agreed. It isn't - period.


  • @phenomlab said in MongoDB 6.X at installation:

    @volanar said in MongoDB 6.X at installation:

    It's absurd that postgres is slower than mongodb

    Agreed. It isn't - period.

    In general, the performance of nodebb can be compared with various databases if nodebb was written in C ++ or Rust, and not in slow nodejs. The slowest here is nodebb.
    Databases are ten times more productive than the platform. What is the point of discussing which database is faster?

  • Community Rep

    @julian said in MongoDB 6.X at installation: (emphasis added)

    As it turns out, people who write databases have a really vested interest in making the database really fast 😄

    I was a MySQL enthusiast prior to its open source licensing days, using it for personal, education projects and hoping for that day. Fast forward a few decades and imho Monty and Crew lost their way. I had always been interested in PostgreSQL but mostly using it in lab settings. MySQL selling to Sun Microsystems tripped some yellow flags. Oracle bailing out Sun Microsystems tripped three red flags so I have been favoring my old friend PostgreSQL ever since.

    Take a gander at the 'who' for each respective project. Behavioral Biologists and Cultural Anthropologist enthusiasts may observe that the 'Developer Culture' is very niche specific.


Suggested Topics

| | | |