On 06.05.14 08:59, Ashley Aitken wrote:
I believe Martin may have kindly answered, at least part of, this
question in another thread.
If I may paraphrase him: the way Akka Persistence Views work currently
(polling) is an implementation detail and later versions of Akka
Persistence may provide a push-based approach as well.
If journal replication is still used as the means of distribution then
perhaps Views will just subscribe to a Processor (effectively the
Processors's journal) and get pushed events in messages (without the
Processor even running locally).
Not exactly totally reactive - I assume it depends upon how the
journals are replicated - but it could work.
Of course, it's very likely that I am completely confused ;-)
The availability of (new) events in the journal is also an event.
Whether a view is actively notified about their availability (= push) or
if the view tries to find out itself (= pull) is rather a technical
detail. A pull-based view even allows to decouple a processor from its
view(s) in the dimension of lifetime. Why do you see this in conflict
with being reactive?
--
>>>>>>>>>> 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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
--
Martin Krasser
blog: http://krasserm.blogspot.com
code: http://github.com/krasserm
twitter: http://twitter.com/mrt1nz
--
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.