Greetings, 

I have a situation where I have periodic tasks that will take several 
minutes. The manager will submit thousands of requests to a particular 
actor router. When the requests are received, They will be processed by the 
actor and completed. However, the scheduler has to run every minute to make 
sure not to miss any tasks but the tasks may take more than a minute to 
finish and, although they are idimpotent, I would rather not submit 500k 
messages several times. So I was wondering if there is any Akka specific 
way to track submitted tasks. My current thought is to store that task A 
has been submitted in a hazelcast map and when the message is processed it 
will remove it from the map, if the map has the task in it, it won't add it 
again. Although this works, I was wondering if i was missing some hazelcast 
native way of doing this. 

 Thanks. 

-- Robert

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