I like this! I use babashka sub processes for my clojuredart and clojure script projects, if this technique translates well then I can simplify some things, good work! I wonder how it handles data corruption from interruption between multiple writers, feels like the orchestrator eats the bulk of abstraction to make it feel magical
Not sure what you mean about corruption. Each app has it's own sqlite and batches to them separately. All apps implement CQS, so writes are async so the can be batched. You only see the changes in the next tick.
This makes a bit more sense, like the mechanics of a LAN Game server. It’s just…weird lol, but cool. And makes me wonder why haven’t more polylithic projects attempted unifying this way as it’s not clj specific
View all comments
3
u/whoisarepo 25d ago
I like this! I use babashka sub processes for my clojuredart and clojure script projects, if this technique translates well then I can simplify some things, good work! I wonder how it handles data corruption from interruption between multiple writers, feels like the orchestrator eats the bulk of abstraction to make it feel magical