| ▲ | weitendorf 4 hours ago | |||||||
I've been working on a hybrid protobuf ORM/generic CRUD server based on sqlite (code at https://github.com/accretional/collector - forgive the documentation. I'm working on a container-based agent project and also trialling using agents heavily to write the individual features. It's working pretty well but the agents have been very zealous at documenting things lol). This is my first real project using sqlite and we've hit some similarly cool benchmarks: * 5-15ms downtime to backup a live sqlite db with a realistic amount of data for a crud db * Capable of properly queueing hundreds of read/write operations when temporarily unavailable due to a backup * e2e latency of basically 1ms for CRUD operations, including proto SerDe * WAL lets us do continuous, streaming, chunked backups! Previously I'd only worked with Postgres and Spanner. I absolutely love sqlite so far - would still use Spanner for some tasks with an infinite budget but once we get Collector to implement partitions I don't think I would ever use Postgres again. | ||||||||
| ▲ | bombela 3 hours ago | parent [-] | |||||||
> * 5-15ms downtime to backup a live sqlite db with a realistic amount of data for a crud db Did you consider using a filesystem with atomic snapshots? For example sqlite with WAL on BTRFS. As far as I can tell, this should have a decent mechanical sympathy. edit: I didn't really explain myself. This is for zero downtime backups. Snapshot, backup at your own pace, delete the snapshot. | ||||||||
| ||||||||