The Unix Way, everybody!

Also, first post!

@linuxmemes

  • addie@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Filesystem-as-a-db is why MongoDB is webscale. You just turn it on and it scales right up.

  • renzev@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Just fucking putting data into json files in a folder is so much easier than databases. Sure, databases are faster and give you access to powerful SQL queries. But if you’re just making something small and simple, you don’t need those things. Save yourself the hassle and just use the filesystem.

    Or use minio/s3, which can either be the best or the worst of both worlds depending on your usecase.

    • twice_hatch@midwest.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      The trouble is, filesystems don’t have ACID. The first time you have a power loss during a write, your data will get corrupted.