▲ | brokegrammer 5 days ago | |||||||||||||||||||||||||||||||
One reason I use SQLite in production is because of Litestream. I can setup 2 or more VPSes hosting my Django app backed by the same SQLite database behind a load balancer for redundancy. Thanks to Litestream, it's easier to scale horizontally when using SQLite than with other databases when self-hosting. | ||||||||||||||||||||||||||||||||
▲ | nop_slide 4 days ago | parent [-] | |||||||||||||||||||||||||||||||
I thought litestream was just for streaming backups? How does it enable you to coordinate with multiple instances of an application? Is one instance the "primary" where writes all go and either can serve as a reader? | ||||||||||||||||||||||||||||||||
|