Does akka.dispatch.SingleConsumerOnlyUnboundedMailbox have the same problem?

/Patrik

> 20 jun 2014 kl. 11:00 skrev Akka Team <[email protected]>:
> 
> Hi Jonathan
> 
> The proper solution I think is to not let the mailboxes grow too large and 
> implement a backpressure channel instead. You can have your consumers pulling 
> for (batches) of jobs, or acknowledging (possibly batched) explicitly, or 
> just by having a Backoff signal. 
> 
> In general this is exactly the problem reactive-streams solve, but currently 
> akka-streams is still a preview and not yet production ready.
> 
> -Endre
> 
> 
>> On Thu, Jun 19, 2014 at 5:15 AM, Jonathan Uptmore 
>> <[email protected]> wrote:
>> I'm using Akka 2.3.3 and I have an actor mailbox implementation of 
>> java.util.concurrent.ConcurrentLinkedQueue.  About one millions messages 
>> pass through this mailbox during one of my application runs.  Consumers 
>> cannot process the messages faster than they are produced.  Therefore, 
>> mailbox becomes very full at which point the consumers appear to be waiting 
>> longer to get a message off the queue/mailbox.  ConcurrentLinkedQueue is 
>> known to have slow remove times when many elements are in the CLQ.  Are 
>> there any recommendations or patterns to resolve this bottleneck?
>> 
>> Thanks,
>> Jonathan
>> -- 
>> >>>>>>>>>> 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.
> 
> 
> 
> -- 
> Akka Team
> Typesafe - The software stack for applications that scale
> Blog: letitcrash.com
> Twitter: @akkateam
> -- 
> >>>>>>>>>> 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.

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