News for hackers. Stuff that matters.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by spiffytech on Saturday January 30, 2021 @11:00PM (#25975774)
I love SQLite, but it really doesn't have a great answer to HA/failover. If you enable WAL mode, even NFS is off the table.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by g5becks on Sunday January 31, 2021 @12:44AM (#25976376)
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by t0astbread on Saturday January 30, 2021 @11:17PM (#25975877)
Right, but in this case that's not a thing anyways since there's only one server.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by IgorPartola on Sunday January 31, 2021 @12:21AM (#25976258)
The main reason for me is that Postgres can be backed up while online, and I can scale up to multiple servers if I suddenly need to. Not so much with SQLite where if a small project suddenly hit the front page of whatever I would suddenly need to get really creative.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by t0astbread on Sunday January 31, 2021 @01:36AM (#25976623)
I'm not sure how well the architecture described in the article lends itself to horizontal scaling since everything assumes it's on the same machine (I think?). Granted, if you build for horizontal scaling I agree, a client/server database is the way to go.

As for backups, SQLite also supports backups while another process is using the database.

Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by 14u2c on Sunday January 31, 2021 @05:43AM (#25977806)
This brings to mind a question: would it be possible to run simply run multiple instances of SQLite on independent hosts that are backed by single shared filesystem, such as AWS's EBS? Of course they'd be blocked on writes but it does seem that SQLite3 supports the read concurrency.