I'd write to a primary journal and use the (Akka) query side to populate
the other journal. Yes they may be a bit behind, but depending on needs
that could be optimised (query side could be pushed to).

Have you looked into Akka Persistence Query yet? We implemented something
for leveldb this week that might inspire you (I'm on my phone, hard to find
links) - check prs about eventsbyperistenceid.
On Aug 20, 2015 8:36 PM, "Leonid Bakaleynik" <[email protected]> wrote:

>
> I'm tempted to write a service that would use Kafka and Cassandra as
>> backends and expose subscriptions per entity. Not sure yet if it's doable
>> at scale.
>>
>> An "exercise left for the ambitious reader" one might say ;-)
>>
>
> ambitious reader with less strict deadlines :-)
>
> We'll probably end up writing to/reading from 2 journals, it will take
> less time to implement
>
> Thanks!
> Leonid
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to