Hi Lawrence,

this is not going to work because the View keeps track of which sequence 
numbers it has already seen. Another point is that the overhead for such an 
actor is not that large (<1kB ℮), so until we have stream-based aggregation 
this should be a work-around.

Regards,

Roland

4 jun 2014 kl. 10:01 skrev Lawrence Wagerfield <[email protected]>:

> Is it good practice to change the processorId on a View to support replaying 
> messages from multiple sources?
> 
> I currently have an aggregator view that instantiates new child views in 
> response to user registrations. These child views then propagate messages 
> back up to the parent aggregator view. 
> 
> I've seen this pattern advocated in previous topics, but it got me wondering: 
> why not just change the current view's processorId and avoid instantiating 
> new child actors altogether?
> 
> -- 
> >>>>>>>>>> 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.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


-- 
>>>>>>>>>>      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