by yoz · 3y ago · 0 comments
I also recommend checking out Replicache[1] and alternatives, which may be a better way to handle the networking and database replication so that it doesn't rely on the underlying DB.
[0] https://github.com/WiseLibs/better-sqlite3/blob/HEAD/docs/ap... [1] https://replicache.dev/
But you could use triggers to write to a table (as any process that writes will run that trigger), and then poll that table from another process.