• jubilationtcornpone@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Every time I’m assigned to a project that uses a document database


    “So how are you guys handling all your related data?”

    Finds collection of massive JSON documents containing all the related data

    “Oh boy.”

  • ℍ𝕂-𝟞𝟝@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    NoSQL has always been a niche use case thing.

    For some stuff, no ACID is no problem. They have their place. What I’m more suspicious of is things like Google offering distributed databases that they pretend as if they could break the CAP theorem.

      • ramjambamalam@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 month ago

        Atomicity: either all parts of the transaction complete, or all parts of the transaction don’t complete; there’s no “partly complete” state

        Consistency: the state of the database after a transaction is stable; all “downstream” effects (e.g. triggers) of the query are complete before the transaction is confirmed.

        Isolation: concurrent transactions behave the same as sequential transactions

        Durability: a power failure or crash won’t lose any transactions

        Traditionally, ACID is where relational databases shine.