• Obsession
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    25
    ·
    1 year ago

    In a world of containers and stateless applications, fuck SQLite.

    • abhibeckert@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      … you know you can put SQLite in a container right? It doesn’t even need to be persisted to disk - it can just live in RAM.

      • Obsession
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        4
        ·
        1 year ago

        If you don’t care about persistence, why are you even using a DB in the first place?

      • Obsession
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        1 year ago

        Please teach me how to configure my containers so SQLite can scale horizontally.

        • nothacking@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 year ago

          Other databases have the same issue, try having multiple database containers (without massive speed losses). If application is bound by the performance of the front end, this is a problem, but those really are not what SQLite was intended for.

          In the case of database bound applications, SQLite is just as good as any other database, which despite having a client server model can typically only handle a single operation at once.

          • Obsession
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            1 year ago

            You misunderstood. I’m not talking about scaling the DB horizontally, I’m talking about scaling the application using the DB horizontally.