logoalt Hacker News

andersmurphytoday at 1:14 PM1 replyview on HN

Is the main use case for this for languages that only have access to process based concurrency?

Struggling to see why you would otherwise need this in java/go/clojure/C# your sqlite has a single writer, so you can notify all threads that care about inserts/updates/changes as your application manages the single writer (with a language level concurrent queue) so you know when it's writing and what it has just written. So it always felt simpler/cleaner to get notification semantics that way.

Still fun to see people abuse WAL in creative ways. Cool to see a notify mechanism that works for languages that only have process based concurrency python/JS/TS/ruby. Nice work!


Replies

infogulchtoday at 1:18 PM

He mentions Litestream, maybe this also works for litestream read-only replicas which may be in completely different locations?