3 ms·
Do you know if there is something similar for SQLite? I've been looking for a while and wonder if maybe listening to the WAL is the best option. There are hooks
by tyre 6y ago
Do you know if there is something similar for SQLite? I've been looking for a while and wonder if maybe listening to the WAL is the best option. There are hooks to tie into but the database I'm looking at isn't mine (it's local on my machine for another application) so idk if I should be futzing around with it.
- WJW 6y agohttps://litestream.io/ https://litestream.io/ ?
- benbjohnson 6y agoLitestream author here. Litestream monitors and replicates based off the WAL and there are some tricks it has to do to make that work. However, it doesn't currently decode those WAL pages and determine the changed data. That is something that's on the roadmap though: https://github.com/benbjohnson/litestream/issues/129 https://github.com/benbjohnson/litestream/issues/129
- tyre 6y agoThis is awesome! I guess more likely given the title of this post, but still pretty cool that the author of a library is here in the comments.