30
linuxxx
6y

Why the fuck didn't I start to learn mongodb sooner 😶

I love it already!

Comments
  • 16
    Wait so the whole world is running back to SQL because NoSQL turned out to only work in some cases, and you just started using it?
  • 3
    @epse Thing is I'm insanely bad with joins and stuff and at least some projects which were unreachable due to me not understanding quite some mysql stuff have just become reachable because of this db engine!
  • 1
    @epse Like, I kept dropping the privacy site project due to being stuck with mysql and with this fucker I can write the entire db part within about an hour or something I think 😅
  • 1
    @linuxxx well whatever works for you I guess
  • 5
    @epse everything has its use cases. Reason everybody is running back is cause they thought it would provide scalability and still work like sql
  • 3
    @PerfectAsshole yeah true, not everyone needs to run "at scale" anyway
  • 2
    @linuxxx Lemme just introduce you to my lord and saviour, ORM :v

    Anyway, I started learning MongoDB a few years ago (even used it in my IT examn in gymnasiet) but did go back to mariadb because it wasn't really for me
  • 5
    You can definitely scale mongodb and make it do whatever the hell you want. Its a matter of knowing how to properly structure your data and yo keep analysis checks on it to ensure that its in place. I am legit constantly wondering why people talk about scaling issues in mongo. And you can have even worse issues in standard sql. Migrations are always a fucking nightmare since not everyone knows how to properly manage sql databases. Its a matter of knowledge .
  • 0
  • 0
    extremely fast but wait until you have to do some serious migrations, the "fun" starts there :D
  • 1
    @AleCx04 that sounds way too optimistic about mongo...
  • 1
    @erandria i call it my professional point of view on it. I have systems deployed with mongo
  • 0
    Ohhh I'm jelly, I haven't started learning it yet. I've just read enough about it to be proper excited. Looking back past projects and seeing how a NoSQL DB would have been a better fit for our requirements, but we only knew about the SQL side of things.

    Never been a fan of SQL even if ORM makes it bearable until the abstraction starts leaking and my eyes start leaking and you stay up at night wondering why everything is leaking, but I digress.
  • 2
    I always say that NoSQL is bad unless your data does not have any logical relations. For example logs, configurations, etc. But it is total nonsense to maintain proper relationships in NoSQL.
  • 0
    Yeah document DBs are quite fun to use. I like using Mongoose ORM (for node) as well.
  • 2
    @epse Well ideally you should always write code that scales but the problem here is that alot of people jumped in halfassed and expected it to be free. Sql scales but at the cost of breaking it down into read-only/write-only servers but since that requires extra code alot of people don't do it(including me)
  • 0
    But they changed the license that caused them to get booted from debian
Add Comment