Skip to content

replication over unreliable Networks / network partitions / disconnects #143

Answered by benbjohnson
aldas asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aldas. Good question. Litestream copies out WAL frames out to a directory next to your database file so it doesn't interfere with SQLite's checkpointing. That will keep growing until it can flush out to the replica. That's probably your biggest concern is that you could fill up your disk depending on how many writes you're doing while disconnected.

Litestream will keep retrying though so disconnects aren't a problem.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aldas
Comment options

@benbjohnson
Comment options

Answer selected by benbjohnson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants