I have Consistent hashing router aware cluster where Job Recipient 
distributes Job across the Remote Job Workers. 
Each Job Worker takes car of several jobs according to key distribution and 
each job happens inside job state actor. 
Job Receipt actor talks to to job Master actor via Singleton proxy. 
According to the diagram below.

<https://lh3.googleusercontent.com/-5cmfbWeszXo/VmlCpsvWnII/AAAAAAAAcLI/gC4jdBCJ0oU/s1600/Screen%2BShot%2B2015-12-10%2Bat%2B10.55.44%2BAM.png>
Each few seconds I need to  ask some job State actor regarding its current 
progress. 

I'm assuming that for this I need to apply ? (ask) pattern for 3 time. 

JobReceipt asks JobMaster, JobMaster asks JobWorker N, JobWorker N asks 
JobState.

Such approach seems to me incorrect  and abuses ask pattern in my opinion. 
Is there any other option to query job state asynchronously? 

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