Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1367

Read-only Persistent Actor

$
0
0

I’m thinking about the following: Say, I have a live application that collects data and represents the processed data in a persistent actor. The persistent actor’s events are written to a distributed cassandra database.

Now I have a second application, which is not collecting data, but where I want to query/read the state of the previously named persistent actor. So rather than implementing CQRS by writing the processed actor’s state to a database, I want to have a read-only representation of the same actor in the JVM of the second application. I suppose it would be good for resilience if the two applications do not have to join the same cluster, but they can share code.

Any thoughts on this, and ideas how this could be best implemented in practical terms?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1367

Trending Articles