3 ms·
How does Litstream actually works? Do you read from WAL and then sync with S3?
by avinassh 6y ago
How does Litstream actually works? Do you read from WAL and then sync with S3?
- benbjohnson 6y agoYes, it reads off the WAL then compresses the frames using LZ4 and then uploads to S3. The SQLite WAL acts as a circular buffer so Litestream takes over the checkpointing process to control when it rolls over so it can recreate that buffer as separate files. There's additional information on the web site: https://litestream.io/how-it-works/ https://litestream.io/how-it-works/