user3364825
user3364825

Reputation: 1561

Akka for persistent work queue

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

Answers (1)

biniam
biniam

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.

  1. Making the Reactive Queue durable with Akka Persistence

  2. Job queue in b2b with Akka

Upvotes: 2

Related Questions