Re: [akka-user] Stashing vs Scala Collection

2016-08-05 Thread Martynas Mickevičius
Hi, for the usecase you mentioned, it makes more sense for me to use a collection, as you will be able to process exactly as many stashed requests as you have available resources. You will also be able to track the number of stashed resources and deal with overflow more easily. On Thu, Aug 4,

[akka-user] Stashing vs Scala Collection

2016-08-04 Thread roberto . garcia . teodoro
Hi all. I've been using akka in my application, but I've encountered a problem managing my resources. I have an actor which controls access to 3 pools of a limited resource. When one of these pools is depleated, I need to stash future requests to that pool, while still attending requests