Reputation: 1561
I'm writing a web application in Play 2.2.2, and after a user updates some state, I need to perform some additional costly processing. I'd like to schedule this processing asynchronously so as not to block the user. One option is to put work items onto a BlockingQueue
, and have worker thread(s) take items from it. However, if the app crashes, I'd lose the pending items.
Would Akka be a good fit for this problem instead?
Upvotes: 4
Views: 2401
Reputation: 8199
It is late but I can see that this question is not answered. I found the following links while researching about Akka Persistence. Check it out and post any useful answer you might have found.
Upvotes: 2