logoalt Hacker News

jeremycarter • today at 5:26 PM • 1 reply • view on HN

Looks great but one of the common problems with the virtual actor model is state query. It's all well and good to have nice separated state dbs but for most use cases that means further double up on storing the state again in another database that can query it. I don't think anyone has come up with a nice solution for this problem without using a loose document database, but even then actors can change their schema.

Perhaps emitting versioned domain events transactionally with the actor state is an option without prescribing an exact solution.


Replies

thomask1995 • today at 5:40 PM

This is a great comment! We actually get this a lot.

Since we are so early, we can build this the right way. I agree, I think we need something you can set up to sync to a data lake. I started really simple with exporting at certain times, but I think there is more to do here.

I really want to nail this part of the experience. I agree, it is a big sticking point