I’ve been successfully running apps with a single machine storing my SQLite database files on a Fly volume for a while. In the past day or so, I’ve been trying out Litestream using DigitalOcean Spaces to store the streaming backups. It’s awesome.
However, I realized that fly deploy
now defaults to starting up two machines unless you use the --ha=false
flag. Wouldn’t running two machines potentially be bad when writing to essentially the same SQLite database?
Or perhaps I’m just confused about how machines work on Fly?