gluesql / gluesql

GlueSQL is quite sticky. It attaches to anywhere.

Home Page:https://gluesql.org/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gluesql, litestream, checkpoint + wal, s3

zeroexcuses opened this issue · comments

I am aware gluesql can use sled.

Is there a way to have gluesql write to "checkpoint + write ahead log"

The goal is to have something like litestream, where changes are streamed to s3

Not yet, but we are planing.
We should implement daemon mode first, then if we can use gluesql as DB server, checkpoint or write ahead log would make more sense.
I haven't seen litestream before but it looks nice to have those kind of single server service with gluesql as well.

Is there some trait Disk_Storage_T where I can write my own checkpoint+wal struct, have it implement Disk_Storage_T, and then swap out sled for my own storage backend ?