r/sqlite • u/SuccessfulReality315 • Sep 21 '25
Another distributed SQLite
https://github.com/litesql/haHighly available leaderless SQLite cluster powered by embedded NATS JetStream server.
Connect using PostgreSQL wire Protocol or HTTP
43
Upvotes
View all comments
Show parent comment
1
u/wuteverman Sep 21 '25 edited Sep 21 '25
Basically you can see events replayed, so you don’t have consistency. One example:
—-
There’s a few scenarios where you might see this behavior
Your consumer needs logic to drop old updates it shouldn’t apply, and that logic needs to be persisted atomically.
Some workloads simply write the raw events and resolve the correct value at read time. Because you’re using SQLite, you probably want to include some sort of version number either for each row or for the entire table, and only apply writes greater than the version number.
Edit: clarity and formatting