Hacker News new | ask | show | jobs
by benbjohnson 1426 days ago
Right on, I always thought a CRDT SQLite database would be awesome. I thought about looking at the session extension[1] to handle the merges but I didn't get very far into it.

Feel free to ping me at benbjohnson@yahoo.com if you want to chat WAL & journaling. I think it'd be difficult to implement CRDT at the journal level since it's all physical pages. Merging data in pages is going to sometimes cause splits and that'll be hairy to deal with.

[1] https://www.sqlite.org/sessionintro.html

1 comments

that was my assumption but it's been suggested a few times to implement it there. Nice to hear some validation that that isn't a great spot.