benbjohnson / litestream

Streaming replication for SQLite.

Home Page:https://litestream.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clarification on "Multiple applications replicating into location can corrupt"

cideM opened this issue · comments

This isn't mentioned anywhere in the Setup guides, as far as I can tell, but it is mentioned in the Tips & Caveats. Do I really need one bucket per replica? Or can I also have multiple apps replicating into the same bucket but with a different replica name?

$ aws s3 ls my-bucket/
PRE replica-a/
PRE replica-b/
PRE replica-prod/

would this be bad?

You can replicate to a single bucket but different paths. The wording is slightly wrong as it means the exact same location and not a whole bucket.