←back to thread

221 points charlieirish | 2 comments | | HN request time: 0.417s | source
Show context
klabb3 ◴[] No.43537450[source]
What is the realtime and reactivity support in Turso? It’s starting to look attractive but do updates propagate automatically without polling?
replies(1): >>43537577 #
1. avinassh ◴[] No.43537577[source]
(I work at Turso)

libSQL does not support realtime/reactivity features. There have been attempts (by both our team and the community), but we encountered difficulties and ultimately abandoned the idea. I can check with the team for the exact reasons.

However, Limbo (our SQLite rewrite in Rust) will include this feature, though there is no ETA yet. It's currently being discussed here: https://github.com/tursodatabase/limbo/discussions/1149. Please share your thoughts and use cases.

replies(1): >>43539282 #
2. klabb3 ◴[] No.43539282[source]
Thanks. My personal use case is a client with business logic written in Go with intermittent connectivity, some data is private to the device, some private to the server, and with some data synced from server to clients. Many events are time critical and need instant updates.

To me it’s more general than that though. The expectation of having reactive behavior comes up everywhere from chat apps to collaborative to even games. Polling and refreshing feels very 90s and ”web page centric” but of course in some cases (say long form blogging or similar) it’s not a concern.