• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

MongoDB 6.X at installation

Scheduled Pinned Locked Moved Unsolved Technical Support
14 Posts 6 Posters 536 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ayyilmazA Offline
    ayyilmazA Offline
    ayyilmaz
    wrote on last edited by
    #1

    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 ?

    gotwfG 1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to ayyilmaz on last edited by gotwf
    #2

    @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?

    phenomlabP 1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #3

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

    1 Reply Last reply
    0
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to gotwf on last edited by
    #4

    @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.

    gotwfG 1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to phenomlab on last edited by
    #5

    @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.

    phenomlabP 1 Reply Last reply
    0
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to gotwf on last edited by
    #6

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

    1 Reply Last reply
    0
  • ayyilmazA Offline
    ayyilmazA Offline
    ayyilmaz
    wrote on last edited by
    #7

    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?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #8

    @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 😄

    phenomlabP volanarV gotwfG 3 Replies Last reply
    2
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to julian on last edited by
    #9

    @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 🙂

    1 Reply Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #10

    🔥

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

    1 Reply Last reply
    0
  • volanarV Offline
    volanarV Offline
    volanar Translator
    replied to julian on last edited by
    #11

    @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

    phenomlabP 1 Reply Last reply
    0
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to volanar on last edited by
    #12

    @volanar said in MongoDB 6.X at installation:

    It's absurd that postgres is slower than mongodb

    Agreed. It isn't - period.
    https://www.enterprisedb.com/news/new-benchmarks-show-postgres-dominating-mongodb-varied-workloads

    volanarV 1 Reply Last reply
    1
  • volanarV Offline
    volanarV Offline
    volanar Translator
    replied to phenomlab on last edited by volanar
    #13

    @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.
    https://www.enterprisedb.com/news/new-benchmarks-show-postgres-dominating-mongodb-varied-workloads

    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?

    1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to julian on last edited by gotwf
    #14

    @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.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development